Skip to content

Commit

Permalink
fix: fix goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
sixwaaaay committed Sep 25, 2023
1 parent 1e6da38 commit 8a0ec08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CI"
name: "RELEASE"
on:
push:
branches:
Expand All @@ -7,7 +7,7 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:

test:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -22,10 +22,11 @@ jobs:
export GIT_SHA=`git rev-parse HEAD`
- name: Release
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_SHA: ${{ env.GIT_SHA }}
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- linux
- windows
- darwin
ldflags:
Expand All @@ -26,7 +26,6 @@ archives:
- goos: windows
format: zip
files:
- ngctl
- LICENSE
- README.md
checksum:
Expand Down

0 comments on commit 8a0ec08

Please sign in to comment.