File tree 3 files changed +56
-0
lines changed
3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ release :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+ - run : git fetch --force --tags
19
+ - uses : actions/setup-go@v2
20
+ with :
21
+ go-version : 1.18
22
+ - uses : goreleaser/goreleaser-action@v2
23
+ with :
24
+ distribution : goreleaser
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
1
+
2
+ dist /
Original file line number Diff line number Diff line change
1
+ before :
2
+ hooks :
3
+ - go mod tidy
4
+ builds :
5
+ - main : ./cmd/stac/
6
+ binary : stac
7
+ env :
8
+ - CGO_ENABLED=0
9
+ goos :
10
+ - linux
11
+ - windows
12
+ - darwin
13
+ archives :
14
+ - replacements :
15
+ darwin : Darwin
16
+ linux : Linux
17
+ windows : Windows
18
+ 386 : i386
19
+ amd64 : x86_64
20
+ checksum :
21
+ name_template : ' checksums.txt'
22
+ snapshot :
23
+ name_template : " {{ incpatch .Version }}-next"
24
+ changelog :
25
+ sort : asc
26
+ use : github-native
You can’t perform that action at this time.
0 commit comments