Files
weapon-project-extended/.gitlab-ci.yml
2023-08-26 23:24:50 +00:00

27 lines
674 B
YAML

stages: # List of stages for jobs, and their order of execution
- release
release_job:
stage: release # It only runs when *both* jobs in the test stage complete successfully.
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
- if: $CI_COMMIT_TAG
when: never
- if:
changes:
- data/**/*
- modinfo.lua
- thumb.png
exclude:
- .gitlab-ci.yml
script:
- echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA"
release:
tag_name: v2.0.$CI_PIPELINE_IID
name: 'WPE 2.0_$CI_COMMIT_SHORT_SHA'
description: '$CI_COMMIT_MESSAGE'