Skip to content

Commit 2670bbb

Browse files
authored
Merge pull request #2 from CrowdStrike/goreleaser
feat(releaser): added goreleaser
2 parents 8c880ef + 9b930d2 commit 2670bbb

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
project_name: gqltools
2+
before:
3+
hooks:
4+
- go mod tidy
5+
builds:
6+
- id: gql
7+
main: ./
8+
binary: gql
9+
flags:
10+
- -trimpath
11+
env:
12+
- CGO_ENABLED=0
13+
goarch:
14+
- '386'
15+
- amd64
16+
- arm
17+
- arm64
18+
goarm:
19+
- '6'
20+
- '7'
21+
goos:
22+
- linux
23+
- darwin
24+
- windows
25+
archives:
26+
- replacements:
27+
darwin: Darwin
28+
linux: Linux
29+
windows: Windows
30+
386: i386
31+
amd64: x86_64
32+
format_overrides:
33+
- goos: windows
34+
format: zip
35+
checksum:
36+
name_template: 'checksums.txt'
37+
snapshot:
38+
name_template: "{{ incminor .Version }}-pre.{{.Timestamp}}.{{.ShortCommit}}"
39+
changelog:
40+
use: github-native
41+
filters:
42+
exclude:
43+
- '^(docs|test)(\\(.+\\))?:'
44+
release:
45+
prerelease: auto
46+
mode: append

0 commit comments

Comments
 (0)