Skip to content

Commit

Permalink
fix(ci): goreleaser is working now (#3)
Browse files Browse the repository at this point in the history
* fix(ci): add GITHUB_TOKEN

* chore(ci): add .goreleaser

* fix(ci): add write permissions
  • Loading branch information
albttx authored Apr 7, 2023
1 parent f3651e7 commit 8d4e497
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Release Binaries

permissions:
contents: write

on:
release:
types: [ published ]
Expand Down Expand Up @@ -28,3 +31,5 @@ jobs:
workdir: ${{ env.working-directory }}
version: 1.13.0
args: release --rm-dist
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
9 changes: 9 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
project_name: supernova
builds:
- main: ./cmd
goos:
- linux
- darwin
goarch:
- amd64
- arm64

0 comments on commit 8d4e497

Please sign in to comment.