diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2edab0..39b06d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 8748067..2590808 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,9 +13,7 @@ builds: - windows_amd64 archives: - - replacements: - darwin: macOS - format_overrides: + - format_overrides: - goos: windows format: zip @@ -23,7 +21,7 @@ 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