Skip to content

Commit

Permalink
ci(release): explicitly declare HOMEBREW_TAP_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
tmzane committed May 8, 2023
1 parent 9e45379 commit 44fcded
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ on:
jobs:
release:
uses: go-simpler/.github/.github/workflows/release.yml@main
secrets: inherit
with:
version: ${{ github.event_name == 'push' && github.ref_name || inputs.version }}
use-goreleaser: true
secrets:
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
6 changes: 2 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,15 @@ builds:
- windows_amd64

archives:
- replacements:
darwin: macOS
format_overrides:
- format_overrides:
- goos: windows
format: zip

brews:
- tap:
owner: tmzane
name: homebrew-tap
token: '{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}'
token: '{{ .Env.HOMEBREW_TAP_TOKEN }}'
homepage: https://github.com/tmzane/musttag
description: A Go linter that enforces field tags in (un)marshaled structs
license: MPL-2.0

0 comments on commit 44fcded

Please sign in to comment.