Fixed deprecated GoReleaser options

This commit is contained in:
Deluan 2023-11-24 18:08:34 -05:00
parent 21f1354cd1
commit 27a92b05e7
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
args: goreleaser release --rm-dist --skip-publish --snapshot args: goreleaser release --clean --skip=publish --snapshot
- name: Run GoReleaser - RELEASE - name: Run GoReleaser - RELEASE
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
@ -146,7 +146,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
args: goreleaser release --rm-dist args: goreleaser release --clean
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:

View File

@ -95,7 +95,7 @@ buildjs: check_node_env ##@Build Build only frontend
all: warning-noui-build ##@Cross_Compilation Build binaries for all supported platforms. It does not build the frontend all: warning-noui-build ##@Cross_Compilation Build binaries for all supported platforms. It does not build the frontend
docker run -t -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:$(CI_RELEASER_VERSION) \ docker run -t -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:$(CI_RELEASER_VERSION) \
goreleaser release --rm-dist --skip-publish --snapshot goreleaser release --clean --skip=publish --snapshot
.PHONY: all .PHONY: all
single: warning-noui-build ##@Cross_Compilation Build binaries for a single supported platforms. It does not build the frontend single: warning-noui-build ##@Cross_Compilation Build binaries for a single supported platforms. It does not build the frontend
@ -107,7 +107,7 @@ single: warning-noui-build ##@Cross_Compilation Build binaries for a single supp
fi fi
@echo "Building binaries for ${GOOS}/${GOARCH}" @echo "Building binaries for ${GOOS}/${GOARCH}"
docker run -t -v $(PWD):/workspace -e GOOS -e GOARCH -w /workspace deluan/ci-goreleaser:$(CI_RELEASER_VERSION) \ docker run -t -v $(PWD):/workspace -e GOOS -e GOARCH -w /workspace deluan/ci-goreleaser:$(CI_RELEASER_VERSION) \
goreleaser build --rm-dist --snapshot --single-target --id navidrome_${GOOS}_${GOARCH} goreleaser build --clean --snapshot --single-target --id navidrome_${GOOS}_${GOARCH}
.PHONY: single .PHONY: single
warning-noui-build: warning-noui-build: