Skip to content

Commit efde5b6

Browse files
committed
WIP
1 parent 4622a44 commit efde5b6

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
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: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@ 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+
buildkite-agent artifact upload dist/*
19+
else
20+
echo "Would do a real release"
21+
fi
22+

.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)