From e5d3f0bd5996f200f3a3359683cce71f78d83d8b Mon Sep 17 00:00:00 2001 From: DeveloperC Date: Sun, 13 Feb 2022 14:07:04 +0000 Subject: [PATCH] ci: correcting releasing on branch name --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a37491e..d75dc7d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: @@ -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: