goreleaser: remove deprecated options

This commit is contained in:
nadoo 2023-03-13 20:42:36 +08:00
parent 7e800555d7
commit 6815f866cb
2 changed files with 3 additions and 5 deletions

View File

@ -42,7 +42,7 @@ jobs:
if: "!startsWith(github.ref, 'refs/tags/')"
with:
version: latest
args: build --snapshot --rm-dist
args: build --snapshot --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -66,7 +66,7 @@ jobs:
uses: actions/upload-artifact@v3
if: "!startsWith(github.ref, 'refs/tags/')"
with:
name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-macos-arm64
name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-darwin-arm64
path: |
./dist/default_darwin_arm64/${{ env.APP_NAME }}
@ -83,7 +83,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -35,8 +35,6 @@ archives:
- id: default
builds:
- default
replacements:
darwin: macos
wrap_in_directory: true
format: tar.gz
format_overrides: