File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 22 - label : Release
33 agents :
44 image : " golang:1.25.4@sha256:698183780de28062f4ef46f82a79ec0ae69d2d22f7b160cf69f71ea8d98bf25d"
5- cpu : " 16"
6- memory : " 24G"
7- ephemeralStorage : " 20G"
5+ cpu : " 24"
6+ memory : " 48G"
7+ ephemeralStorage : " 60G"
8+ env :
9+ GOMEMLIMIT : 44GiB
810 command :
911 - " .buildkite/scripts/release.sh"
12+ artifact_paths :
13+ - " dist/*"
Original file line number Diff line number Diff line change @@ -12,4 +12,12 @@ echo "--- Caching GPG passphrase"
1212echo " $GPG_PASSPHRASE_SECRET " | gpg --armor --detach-sign --passphrase-fd 0 --pinentry-mode loopback
1313
1414echo " --- Release the binaries"
15- make release
15+
16+ if [[ -n " ${SNAPSHOT} " ]]; then
17+ make release-snapshot
18+ echo " --- Uploading snapshot artifacts"
19+ ls -alh dist/
20+ else
21+ echo " Would do a real release"
22+ fi
23+
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ setup: tools vendor ## Setup the dev environment
172172
173173.PHONY : release-snapshot
174174release-snapshot : tools # # Make local-only test release to see if it works using "release" command
175- @ go tool github.com/goreleaser/goreleaser/v2 release --snapshot --clean
175+ @ go tool github.com/goreleaser/goreleaser/v2 release --snapshot --clean --parallelism=4
176176
177177
178178.PHONY : release-no-publish
@@ -182,7 +182,7 @@ release-no-publish: tools check-sign-release ## Make a release without publishin
182182
183183.PHONY : release
184184release : tools check-sign-release check-publish-release # # Build, sign, and upload your release
185- @ go tool github.com/goreleaser/goreleaser/v2 release --clean --parallelism=4
185+ @ go tool github.com/goreleaser/goreleaser/v2 release --clean --parallelism=4
186186
187187
188188.PHONY : check-sign-release
You can’t perform that action at this time.
0 commit comments