From 609427911319f70aaca18a2caeffa7eb4d596657 Mon Sep 17 00:00:00 2001 From: Wojciech Regulski <48433067+wregulski@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:32:54 +0200 Subject: [PATCH] fix(SPV-XXX): fix go-releaser after version bump (#244) --- .github/workflows/release.yml | 4 ++-- .make/common.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd91c45..b0bec9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,8 +28,8 @@ jobs: uses: goreleaser/goreleaser-action@v6.0.0 with: distribution: goreleaser - version: latest - args: release --rm-dist --debug + version: v1 + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} diff --git a/.make/common.mk b/.make/common.mk index 5d92c0a..1e20a44 100644 --- a/.make/common.mk +++ b/.make/common.mk @@ -48,15 +48,15 @@ install-releaser: ## Install the GoReleaser application release:: ## Full production release (creates release in Github) @echo "releasing..." @test $(github_token) - @export GITHUB_TOKEN=$(github_token) && goreleaser --rm-dist + @export GITHUB_TOKEN=$(github_token) && goreleaser --clean release-test: ## Full production test release (everything except deploy) @echo "creating a release test..." - @goreleaser --skip-publish --rm-dist + @goreleaser --skip-publish --clean release-snap: ## Test the full release (build binaries) @echo "creating a release snapshot..." - @goreleaser --snapshot --skip-publish --rm-dist + @goreleaser --snapshot --skip-publish --clean replace-version: ## Replaces the version in HTML/JS (pre-deploy) @echo "replacing version..."