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..."