Skip to content

Commit ad72452

Browse files
committed
chore: update goreleaser task (#20)
1 parent 77292e2 commit ad72452

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: 1.17
22+
go-version: 1.21
23+
- name: Get tag
24+
id: tag
25+
uses: devops-actions/[email protected]
26+
with:
27+
strip_v: true
2328
- name: Run GoReleaser
2429
uses: goreleaser/goreleaser-action@v2
2530
with:
@@ -29,3 +34,4 @@ jobs:
2934
env:
3035
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3136
TAP_TOKEN: ${{ secrets.TAP_TOKEN }}
37+
RELEASE_VERSION: ${{ steps.tag.outputs.tag }}

.goreleaser.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,15 @@ brews:
3333
name: homebrew-tools
3434
branch: main
3535
token: "{{ .Env.TAP_TOKEN }}"
36+
commit_msg_template: "formula update for {{ .ProjectName }} version {{ .Tag }}"
37+
- name: "certify@{{ .Env.RELEASE_VERSION }}"
38+
homepage: "https://github.com/nothinux/homebrew-tools"
39+
folder: Formula
40+
description: "Certify is an easy-to-use certificate manager and can be used as an alternative to OpenSSL. With Certify you can create your own private CA (Certificate Authority) and issue certificates with your own CA"
41+
license: "MIT"
42+
repository:
43+
owner: nothinux
44+
name: homebrew-tools
45+
branch: main
46+
token: "{{ .Env.TAP_TOKEN }}"
47+
commit_msg_template: "formula update for {{ .ProjectName }} version {{ .Tag }}"

0 commit comments

Comments
 (0)