Skip to content
Snippets Groups Projects
Commit 04c5ded7 authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

Merge branch 'bvl/goreleaser2-support' into 'main'

feat: support installing goreleaser v2

See merge request gitlab-com/gl-infra/common-ci-tasks!579
parents 91f9667c b266d316
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -57,7 +57,8 @@ goreleaser_validate-fips:
stage: $[[ inputs.validate_stage ]]
needs: []
script:
- go install github.com/goreleaser/goreleaser@v${GL_ASDF_GORELEASER_VERSION}
- module_suffix=$( [[ "${GL_ASDF_GORELEASER_VERSION:0:1}" == "1" ]] && echo "" || echo "/v${GL_ASDF_GORELEASER_VERSION:0:1}" )
- go install github.com/goreleaser/goreleaser${module_suffix}@v${GL_ASDF_GORELEASER_VERSION}
- goreleaser build --snapshot --clean --single-target
 
# For the moment, we perform a single build for FIPS and non-FIPS
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