File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 goreleaser :
1313 runs-on : ubuntu-latest
1414 container :
15- image : ghcr.io/goreleaser/goreleaser-cross:v1.22.3
15+ image : ghcr.io/goreleaser/goreleaser-cross:v1.24.5
1616 options : --user 1001
1717 steps :
1818 - name : Checkout
2828 with :
2929 install-only : true
3030 distribution : goreleaser
31- version : 1.16.1
31+ version : 2.11.0
3232 - name : Build and publish the next release
3333 run : |
3434 make release-build
Original file line number Diff line number Diff line change 1+ version : 2
12project_name : Oasis CLI
23
34before :
@@ -14,6 +15,7 @@ universal_binaries:
1415
1516env :
1617 - CGO_ENABLED=1
18+ - GOLDFLAGS_VERSION=-X github.com/oasisprotocol/cli/version.Software={{ .Version }}
1719
1820builds :
1921 - &build-common
@@ -70,32 +72,33 @@ builds:
7072 - amd64
7173
7274archives :
73- - name_template : " {{replace .ProjectName \" \" \" _ \ " | tolower}}_{{.Version}}_{{.Os}}_{{.Arch}}"
75+ - name_template : ' {{replace .ProjectName " " "_ " | tolower}}_{{.Version}}_{{.Os}}_{{.Arch}}'
7476 wrap_in_directory : true
75- builds :
77+ ids :
7678 - oasis-linux-amd64
7779 - oasis-linux-arm64
7880 - oasis-darwin-universal
7981 - oasis-windows-amd64
8082 format_overrides :
8183 - goos : windows
82- format : zip
84+ formats :
85+ - zip
8386
8487checksum :
8588 name_template : SHA256SUMS-{{.Version}}.txt
8689 algorithm : sha256
8790
8891snapshot :
89- name_template : " {{ incpatch .Version }}-next"
92+ version_template : " {{ incpatch .Version }}-next"
9093
9194changelog :
9295 sort : asc
9396 use : github
9497 filters :
9598 exclude :
96- - Merge pull request
97- - Merge remote-tracking branch
98- - Merge branch
99+ - Merge pull request
100+ - Merge remote-tracking branch
101+ - Merge branch
99102 groups :
100103 - title : Breaking changes
101104 regexp : " ^.*breaks[(\\ w)]*:+.*$"
@@ -121,3 +124,21 @@ release:
121124
122125 footer : |
123126 **Full Changelog**: https://github.com/oasisprotocol/cli/compare/{{ .PreviousTag }}...{{ .Tag }}
127+
128+ homebrew_casks :
129+ - name : oasis-cli
130+ binary : oasis
131+ directory : Casks
132+ homepage : " https://github.com/oasisprotocol/cli"
133+ description : " Command‑line interface for the Oasis Network"
134+ commit_author :
135+ name : github-actions[bot]
136+ email : github-actions[bot]@users.noreply.github.com
137+ commit_msg_template : " chore(brew): update {{ .ProjectName }} to {{ .Tag }}"
138+ repository :
139+ owner : oasisprotocol
140+ name : cli
141+ branch : brew-oasis-{{ .Tag }}
142+ pull_request :
143+ enabled : true
144+ draft : false
You can’t perform that action at this time.
0 commit comments