From 27a92b05e7f3d8229b4f991687b9933fc79b8b4c Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 24 Nov 2023 18:08:34 -0500 Subject: [PATCH] Fixed deprecated GoReleaser options --- .github/workflows/pipeline.yml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 48f51aad..c8b5b5ba 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -138,7 +138,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: goreleaser release --rm-dist --skip-publish --snapshot + args: goreleaser release --clean --skip=publish --snapshot - name: Run GoReleaser - RELEASE if: startsWith(github.ref, 'refs/tags/') @@ -146,7 +146,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: goreleaser release --rm-dist + args: goreleaser release --clean - uses: actions/upload-artifact@v3 with: diff --git a/Makefile b/Makefile index 6d252c51..9e52308f 100644 --- a/Makefile +++ b/Makefile @@ -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 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 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 @echo "Building binaries for ${GOOS}/${GOARCH}" 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 warning-noui-build: