Unverified Commit 64576ec0 authored by IMXEren's avatar IMXEren
Browse files

fix(ci): restrict release job to release branches

parent fe2b4774
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for .gitlab/ci/release.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ release:
      when: never
    - if: '$CI_COMMIT_TAG'
      when: never
    - if: '$CI_COMMIT_BRANCH'
    - if: '$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "dev"'
  variables:
    GIT_DEPTH: "0"
    # renovate: datasource=github-releases depName=jdx/mise