Skip to content

Commit def2318

Browse files
committed
WIP
1 parent 10d783f commit def2318

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

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