Skip to content

Commit 8a21f61

Browse files
committed
WIP
1 parent 4622a44 commit 8a21f61

File tree

5 files changed

+357
-95
lines changed

5 files changed

+357
-95
lines changed

.buildkite/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ 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"
8+
env:
9+
GOMEMLIMIT: 34GiB
810
command:
911
- ".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+
if [[ -n "${SNAPSHOT}" ]]; then
17+
make release-snapshot
18+
echo "--- Uploading snapshot artifacts"
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)