File tree Expand file tree Collapse file tree 5 files changed +356
-95
lines changed Expand file tree Collapse file tree 5 files changed +356
-95
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 : " 36G"
7+ ephemeralStorage : " 40G"
8+ env :
9+ GOMEMLIMIT : 34GiB
810 command :
911 - " .buildkite/scripts/release.sh"
Original file line number Diff line number Diff line change @@ -12,4 +12,11 @@ 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+ buildkite-agent artifact upload dist/*
19+ else
20+ echo " Would do a real release"
21+ fi
22+
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ builds:
3131 goarch : ' 386'
3232 binary : ' {{ .ProjectName }}_v{{ .Version }}'
3333archives :
34- - format : zip
34+ - formats : zip
3535 name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3636checksum :
3737 name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
You can’t perform that action at this time.
0 commit comments