Skip to content

Commit c8f6bbb

Browse files
authored
Merge pull request #185 from systemli/fix--gorelease-workflow
fix: gorelease workflow
2 parents 44931cc + ce0cfc0 commit c8f6bbb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Build Releases
2727
uses: goreleaser/goreleaser-action@v7.0.0
2828
with:
29-
version: latest
30-
args: release --rm-dist
29+
version: "~>2.0"
30+
args: release --clean
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 2
23

34
before:

0 commit comments

Comments
 (0)