File tree 3 files changed +60
-0
lines changed
3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ tags :
7
+ - " *"
8
+
9
+ permissions :
10
+ contents : write
11
+
12
+ jobs :
13
+ release :
14
+ name : Release
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Set up Go
21
+ uses : actions/setup-go@v5
22
+ with :
23
+ go-version : stable
24
+
25
+ - name : Release
26
+ uses : goreleaser/goreleaser-action@v6
27
+ with :
28
+ distribution : goreleaser
29
+ version : " ~> v2"
30
+ args : release --clean --snapshot
Original file line number Diff line number Diff line change 9
9
! ** /secrets /* .encrypted
10
10
! ** /secrets /* .go
11
11
/out
12
+
13
+ dist /
Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ before :
4
+ hooks :
5
+ - go mod tidy
6
+
7
+ builds :
8
+ - env :
9
+ - CGO_ENABLED=0
10
+ goos :
11
+ - linux
12
+
13
+ archives :
14
+ - format : tar.gz
15
+ name_template : >-
16
+ {{ .ProjectName }}_
17
+ {{- title .Os }}_
18
+ {{- if eq .Arch "amd64" }}x86_64
19
+ {{- else if eq .Arch "386" }}i386
20
+ {{- else }}{{ .Arch }}{{ end }}
21
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
22
+
23
+ changelog :
24
+ sort : asc
25
+ filters :
26
+ exclude :
27
+ - " ^docs:"
28
+ - " ^test:"
You can’t perform that action at this time.
0 commit comments