Skip to content
Snippets Groups Projects
Commit aae5c3af authored by Graeme Gillies's avatar Graeme Gillies
Browse files

fix: actually get the syntax for rules in goreleaser correct

Seems that comparisons to raw values need to be quoted. This can be
validated by going to https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/tenctl/-/ci/lint
and pasting the new contents of `goreleaser.yml` to confirm this
fix is correct.
parent 249bfc63
No related branches found
No related tags found
No related merge requests found
Pipeline #15420849 passed
Loading
Loading
@@ -37,7 +37,7 @@ goreleaser:
 
rules:
# Only run this release job for tags, not every commit
- if: "$CI_COMMIT_TAG && $FIPS_MODE != 1"
- if: $CI_COMMIT_TAG && $FIPS_MODE != "1"
exists:
- .goreleaser.yml
 
Loading
Loading
@@ -76,7 +76,7 @@ goreleaser-fips:
 
rules:
# Only run this release job for tags, not every commit
- if: "$CI_COMMIT_TAG && $FIPS_MODE == 1"
- if: $CI_COMMIT_TAG && $FIPS_MODE == "1"
exists:
- .goreleaser.yml
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment