Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-26 23:37:32 +00:00
parent abd1186280
commit 03dd9529e0

View File

@@ -6,23 +6,20 @@ release_job:
stage: release # It only runs when *both* jobs in the test stage complete successfully. stage: release # It only runs when *both* jobs in the test stage complete successfully.
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
rules: only:
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" # - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
- if: $CI_COMMIT_TAG refs:
when: never - main
- if: - ^tags
changes: changes:
- README.md - ^README.md
- CHANGELOG - ^CHANGELOG
- .gitattribute - ^.gitattribute
- .gitignore - ^.gitignore
- .gitlab-ci.yml - ^.gitlab-ci.yml
when: never - data/**/*
- if: - modinfo.lua
changes: - thumb.png
- data/**/*
- modinfo.lua
- thumb.png
script: script:
- echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA" - echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA"