Skip to content

Commit

Permalink
fixing goreleaser gon integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jrslv committed Mar 5, 2022
1 parent 66e6f1d commit a5f3f26
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
permissions:
contents: write
jobs:
goreleaser:
release:
runs-on: macos-11
steps:
- name: Checkout
Expand Down
16 changes: 12 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,28 @@ builds:
- amd64
- arm64
- id: binocs-macos
# env:
# - AC_PASSWORD={{ .Env.AC_PASSWORD }}
binary: binocs
goos:
- darwin
goarch:
- amd64
# - arm64
hooks:
post: gon gon.json
# hooks:
# post: gon gon.json
archives:
- format: binary
checksum:
algorithm: sha256
signs:
- signature: "${artifact}"
artifacts: all
ids:
- binocs-macos
cmd: gon
args:
- gon.json
# env:
# - AC_PASSWORD={{ .Env.AC_PASSWORD }}
changelog:
sort: asc
filters:
Expand Down

0 comments on commit a5f3f26

Please sign in to comment.