diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa839ea..b498f07 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,6 +78,5 @@ publish: script: - dotnet nuget push "artifacts/package/release/*.nupkg" -k $Nuget_Key -s https://api.nuget.org/v3/index.json --skip-duplicate rules: - - if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_TAG + - if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH =~ /^release\// || $CI_COMMIT_TAG when: manual - - when: never