Loading .gitlab-ci.yml +12 −3 Original line number Diff line number Diff line Loading @@ -243,6 +243,15 @@ job_tag_validate: when: on_success - when: never # # changes: # compare_to: "refs/heads/main" # # Hardcoded use of 'main' branch necessary # # compare_to property does not support variable expansion # https://gitlab.com/gitlab-org/gitlab/-/issues/369916 # job_tag_release: stage: 5_release Loading Loading @@ -336,7 +345,7 @@ job_tag_release: needs: - { job: job_rpmbuild } rules: - if: '$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_REF_NAME == "main"' changes: paths: - 'rpm/*.spec' Loading Loading @@ -436,7 +445,7 @@ job_publish_release: needs: - { job: job_tag_release } rules: - if: '$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_REF_NAME == "main"' changes: paths: - 'rpm/*.spec' Loading Loading
.gitlab-ci.yml +12 −3 Original line number Diff line number Diff line Loading @@ -243,6 +243,15 @@ job_tag_validate: when: on_success - when: never # # changes: # compare_to: "refs/heads/main" # # Hardcoded use of 'main' branch necessary # # compare_to property does not support variable expansion # https://gitlab.com/gitlab-org/gitlab/-/issues/369916 # job_tag_release: stage: 5_release Loading Loading @@ -336,7 +345,7 @@ job_tag_release: needs: - { job: job_rpmbuild } rules: - if: '$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_REF_NAME == "main"' changes: paths: - 'rpm/*.spec' Loading Loading @@ -436,7 +445,7 @@ job_publish_release: needs: - { job: job_tag_release } rules: - if: '$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_REF_NAME == "main"' changes: paths: - 'rpm/*.spec' Loading