Skip to content

Commit feec9d8

Browse files
committed
WIP
1 parent 4622a44 commit feec9d8

File tree

5 files changed

+355
-95
lines changed

5 files changed

+355
-95
lines changed

.buildkite/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ steps:
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"
88
command:
99
- ".buildkite/scripts/release.sh"

.buildkite/scripts/release.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@ echo "--- Caching GPG passphrase"
1212
echo "$GPG_PASSPHRASE_SECRET" | gpg --armor --detach-sign --passphrase-fd 0 --pinentry-mode loopback
1313

1414
echo "--- Release the binaries"
15-
make release
15+
16+
export GOMEMLIMIT=30GiB
17+
if [[ -n "${SNAPSHOT}" ]]; then
18+
make release-snapshot
19+
buildkite-agent artifact upload dist/*
20+
else
21+
echo "Would do a real release"
22+
fi
23+

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ builds:
3131
goarch: '386'
3232
binary: '{{ .ProjectName }}_v{{ .Version }}'
3333
archives:
34-
- format: zip
34+
- formats: zip
3535
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3636
checksum:
3737
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'

0 commit comments

Comments
 (0)