Skip to content

Commit

Permalink
reconfigure goreleaser action with a new PAT, finally (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
sio4 authored Oct 7, 2022
1 parent 0c0eeae commit 679d422
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 20 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
issues: write
steps:
-
name: Set up Go 1.16
uses: actions/setup-go@v1
- uses: actions/checkout@v3
with:
go-version: 1.16
id: go
-
name: Checkout Code
uses: actions/checkout@master
-
name: Run GoReleaser
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
uses: goreleaser/goreleaser-action@v1
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_PAT }}
9 changes: 3 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
builds:
-
main: ./main.go
- main: ./main.go
env:
- CGO_ENABLED=0
ldflags:
Expand All @@ -18,8 +17,7 @@ builds:
- 6
- 7
archives:
-
replacements:
- replacements:
'386': i386
darwin: Darwin
linux: Linux
Expand All @@ -36,8 +34,7 @@ changelog:
- '^docs:'
- '^test:'
brews:
-
name: 'clara'
- name: 'clara'
tap:
owner: 'gobuffalo'
name: 'homebrew-tap'
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main

// Version of main
var Version = "v2.0.5"
var Version = "v2.0.9"

0 comments on commit 679d422

Please sign in to comment.