Skip to content

Commit c4977f0

Browse files
committed
Update release config
1 parent 0bae400 commit c4977f0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.goreleaser.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@
33
project_name: kill-mysql-query
44
before:
55
hooks:
6-
# you may remove this if you don't use vgo
76
- go mod download
87
builds:
98
- env:
109
- CGO_ENABLED=0
10+
goos:
11+
- darwin
12+
- windows
13+
- linux
14+
ignore:
15+
- goos: darwin
16+
goarch: 386
1117
archives:
1218
- replacements:
13-
darwin: Darwin
19+
darwin: macOS
1420
linux: Linux
1521
windows: Windows
1622
386: i386

release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ export GOPROXY=https://gocenter.io
66
# git tag -a v0.1.0 -m "First release"
77
# git push origin v0.1.0
88

9+
# For dry run:
10+
# goreleaser --snapshot --skip-publish --rm-dist
911

1012
goreleaser release --rm-dist

0 commit comments

Comments
 (0)