YANGJINZE 2025-05-15 14:47:26 +08:00
parent c05f11e335
commit 2088e3ac14
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,7 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro' # either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser distribution: goreleaser
version: latest version: latest
args: release --clean --snapshot args: release --clean --snapshot --skip-validate
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution

View File

@ -6,8 +6,6 @@ release:
replace_existing_draft: true replace_existing_draft: true
prerelease: auto prerelease: auto
mode: replace mode: replace
# 允许快照版本发布
allow_snapshot: true
name_template: "Build {{.Tag}}" name_template: "Build {{.Tag}}"
before: before:
hooks: hooks: