Commit 5e0fc1a9 authored by Gibbs, Ian's avatar Gibbs, Ian
Browse files

add comment

parent 848807a4
Loading
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -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
@@ -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'
@@ -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'