Skip to content

Commit

Permalink
ci: correcting releasing on branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Feb 13, 2022
1 parent c278ab5 commit e5d3f0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ lib-crates-io-publishing:
--tag-name "${new_tag}"
--ref "${CI_COMMIT_SHA}"
rules:
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH == "master"


bin-crates-io-publishing:
Expand Down Expand Up @@ -223,7 +223,7 @@ bin-crates-io-publishing:
--ref "${CI_COMMIT_SHA}"
--assets-link '{"name":"x86_64-linux-musl-binary.zip","url":"https://gitlab.com/DeveloperC/'${BIN_NAME}'/-/jobs/artifacts/'${current_version}'/download?job=release-binary-compiling-x86_64-linux-musl"}'
rules:
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH == "master"


release-binary-compiling-x86_64-linux-musl:
Expand Down

0 comments on commit e5d3f0b

Please sign in to comment.