Commit 85c3e116 authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

ci: Make build-release only run when version is incremented

parent 367c712e
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -56,6 +56,12 @@ build-release:
    - job: test
  script:
    - make build
  rules:
    - if: $CI_COMMIT_TAG
      when: never
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
      changes:
        - Cargo.toml
  artifacts:
    paths:
      - bin/