File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 35
35
- name : Checkout
36
36
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
37
37
with :
38
- ref : ${{ inputs.use_existing_tag == 'true' && inputs.version_number || 'master' }
38
+ ref : ${{ inputs.use_existing_tag == 'true' && inputs.version_number || 'main' } }
39
39
40
40
create-tag :
41
41
runs-on : ubuntu-latest
50
50
- name : Checkout
51
51
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
52
52
with :
53
- ref : ' master '
53
+ ref : ' main '
54
54
- name : Get the latest commit SHA
55
55
id : get-sha
56
56
run : echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change
1
+ # This is an example .goreleaser.yml file with some sensible defaults.
2
+ # Make sure to check the documentation at https://goreleaser.com
3
+
4
+ # The lines below are called `modelines`. See `:help modeline`
5
+ # Feel free to remove those if you don't want/need to use them.
6
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7
+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8
+
9
+ version : 2
10
+
11
+ builds :
12
+ - skip : true
13
+ changelog :
14
+ sort : asc
15
+ use : github
16
+ filters :
17
+ exclude :
18
+ - Merge pull request
19
+ - Merge remote-tracking branch
20
+ - Merge branch
21
+ - go mod tidy
22
+ groups :
23
+ - title : " New Features"
24
+ regexp : " ^.*feat[(\\ w)]*:+.*$"
25
+ order : 0
26
+ - title : " Bug fixes"
27
+ regexp : " ^.*fix[(\\ w)]*:+.*$"
28
+ order : 10
29
+ - title : Other
30
+ order : 999
31
+
32
+ checksum :
33
+ name_template : " {{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
34
+ algorithm : sha256
35
+
36
+ signs :
37
+ - artifacts : checksum
38
+ args :
39
+ - " --batch"
40
+ - " --local-user"
41
+ - " {{ .Env.GPG_FINGERPRINT }}"
42
+ - " --output"
43
+ - " ${signature}"
44
+ - " --detach-sign"
45
+ - " ${artifact}"
46
+
47
+
You can’t perform that action at this time.
0 commit comments