We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e276fb0 commit c53d048Copy full SHA for c53d048
cmd/fti/.goreleaser.yml
@@ -0,0 +1,35 @@
1
+project_name: api_gen
2
+
3
+env:
4
+ - GO111MODULE=on
5
6
+builds:
7
+ - main: .
8
+ binary: api_gen
9
+ ldflags:
10
+ - -s -w
11
+ - -X github.com/go-generalize/fti/common.AppVersion={{.Version}}
12
+ env:
13
+ - CGO_ENABLED=0
14
+ goos:
15
+ - linux
16
+ - darwin
17
+ - windows
18
+ goarch:
19
+ - amd64
20
+ - arm64
21
22
+archives:
23
+ - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
24
+ replacements:
25
+ darwin: darwin
26
+ linux: linux
27
+ windows: windows
28
+ 386: i386
29
+ amd64: x86_64
30
+ format_overrides:
31
+ - goos: windows
32
+ format: zip
33
34
+release:
35
+ prerelease: auto
0 commit comments