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: