File tree 3 files changed +49
-0
lines changed
3 files changed +49
-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
+ jobs :
9
+ goreleaser :
10
+ runs-on : " ubuntu-latest"
11
+ steps :
12
+ - name : " Checkout source code"
13
+ uses : " actions/checkout@v2"
14
+ with :
15
+ fetch-depth : 0
16
+ - name : " Set up Go"
17
+ uses : " actions/setup-go@v2"
18
+ with :
19
+ go-version : " 1.13"
20
+ - name : " Run GoReleaser"
21
+ uses : " goreleaser/goreleaser-action@v2"
22
+ with :
23
+ version : " latest"
24
+ args : " release --rm-dist"
25
+ env :
26
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
27
+
Original file line number Diff line number Diff line change
1
+ dist /
1
2
helm-sops
Original file line number Diff line number Diff line change
1
+ project_name : " helm-sops"
2
+
3
+ before :
4
+ hooks :
5
+ - " go mod download"
6
+
7
+ builds :
8
+ - binary : " helm-sops"
9
+ flags : " -trimpath"
10
+ ldflags : " -s -w"
11
+ mod_timestamp : " {{ $.CommitTimestamp }}"
12
+ env :
13
+ - " CGO_ENABLED=0"
14
+
15
+ release :
16
+ prerelease : " auto"
17
+
18
+ changelog :
19
+ filters :
20
+ exclude :
21
+ - " ^(refactor|style|test|docs|ci)(\\ ([^)]+\\ ))?(!)?:"
You can’t perform that action at this time.
0 commit comments