-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
48 lines (41 loc) · 821 Bytes
/
.goreleaser.yaml
File metadata and controls
48 lines (41 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
project_name: sourcetool
version: 2
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- /bin/bash -c 'go mod tidy'
- /bin/bash -c 'if [ -n "$(git --no-pager diff --exit-code go.mod go.sum)" ]; then exit 1; fi'
gomod:
proxy: false
builds:
- id: release
no_unique_dist_dir: true
binary: sourcetool-{{ .Tag }}-{{ .Os }}-{{ .Arch }}
main: ./
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
- goos: darwin
goarch: amd64
flags:
- -trimpath
archives:
- formats: binary
name_template: sourcetool-{{ .Tag }}-{{ .Os }}-{{ .Arch }}
allow_different_binary_count: true
checksum:
disable: true
release:
prerelease: auto
changelog:
disable: false