File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Expand file tree Collapse file tree 3 files changed +59
-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
+
7
+ permissions :
8
+ contents : write
9
+
10
+ jobs :
11
+ release :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+ - name : Setup Go
19
+ uses : actions/setup-go@v2
20
+ with :
21
+ go-version : 1.16
22
+ - name : Run GoReleaser
23
+ uses : goreleaser/goreleaser-action@v2
24
+ with :
25
+ version : latest
26
+ args : release --rm-dist
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,3 +14,6 @@ picoleaf
14
14
15
15
# Dependency directories (remove the comment below to include it)
16
16
# vendor/
17
+
18
+ # GoReleaser output
19
+ dist /
Original file line number Diff line number Diff line change
1
+ before :
2
+ hooks :
3
+ - go mod tidy
4
+ builds :
5
+ - env :
6
+ - CGO_ENABLED=0
7
+ goos :
8
+ - linux
9
+ - windows
10
+ - darwin
11
+ archives :
12
+ - replacements :
13
+ darwin : Darwin
14
+ linux : Linux
15
+ windows : Windows
16
+ 386 : i386
17
+ amd64 : x86_64
18
+ checksum :
19
+ name_template : ' checksums.txt'
20
+ snapshot :
21
+ name_template : " {{ .Tag }}-next"
22
+ changelog :
23
+ sort : asc
24
+ filters :
25
+ exclude :
26
+ - ' ^ci:'
27
+ - ' ^docs:'
28
+ - ' ^test:'
You can’t perform that action at this time.
0 commit comments