Skip to content

Commit

Permalink
chore: update goreleaser task (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
nothinux committed Sep 10, 2023
1 parent 77292e2 commit ad72452
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.21
- name: Get tag
id: tag
uses: devops-actions/[email protected]
with:
strip_v: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand All @@ -29,3 +34,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_TOKEN: ${{ secrets.TAP_TOKEN }}
RELEASE_VERSION: ${{ steps.tag.outputs.tag }}
12 changes: 12 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ brews:
name: homebrew-tools
branch: main
token: "{{ .Env.TAP_TOKEN }}"
commit_msg_template: "formula update for {{ .ProjectName }} version {{ .Tag }}"
- name: "certify@{{ .Env.RELEASE_VERSION }}"
homepage: "https://github.com/nothinux/homebrew-tools"
folder: Formula
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"
license: "MIT"
repository:
owner: nothinux
name: homebrew-tools
branch: main
token: "{{ .Env.TAP_TOKEN }}"
commit_msg_template: "formula update for {{ .ProjectName }} version {{ .Tag }}"

0 comments on commit ad72452

Please sign in to comment.