Skip to content

Commit 2b49029

Browse files
committed
update goreleaser, remove some builds. Don't waste time compiling some arch
1 parent 9066088 commit 2b49029

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.sql
33
*.csv
44
sql2csv-cmd*
5+
dist

.goreleaser.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# This is an example .goreleaser.yml file with some sensible defaults.
2-
# Make sure to check the documentation at https://goreleaser.com
31
before:
42
hooks:
5-
# You may remove this if you don't use go modules.
63
- go mod tidy
7-
# you may remove this if you don't need go generate
8-
- go generate ./...
94
builds:
105
- env:
116
- CGO_ENABLED=0
127
goos:
138
- linux
149
- windows
1510
- darwin
16-
11+
goarch:
12+
- amd64
13+
- arm64
14+
ignore:
15+
- goos: windows
16+
goarch: arm64
1717
archives:
1818
- format: tar.gz
1919
# this name template makes the OS and Arch compatible with the results of uname.
@@ -38,8 +38,3 @@ changelog:
3838
exclude:
3939
- '^docs:'
4040
- '^test:'
41-
42-
# The lines beneath this are called `modelines`. See `:help modeline`
43-
# Feel free to remove those if you don't want/use them.
44-
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
45-
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 commit comments

Comments
 (0)