From 2acc4a767cfe60b09c66e1f98989a72fe31a615c Mon Sep 17 00:00:00 2001 From: Sai Kumar <17549398+gsk967@users.noreply.github.com> Date: Fri, 2 Aug 2024 21:03:12 +0530 Subject: [PATCH] fix: fix the goreleaser (#2581) --- .github/workflows/release-umee.yml | 4 ++-- .goreleaser.yml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-umee.yml b/.github/workflows/release-umee.yml index 6acd409bcb..e490826afb 100644 --- a/.github/workflows/release-umee.yml +++ b/.github/workflows/release-umee.yml @@ -39,7 +39,7 @@ jobs: if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Enable:ReleaseBuild') with: version: latest - args: build --rm-dist --skip-validate # skip validate skips initial sanity checks in order to be able to fully run + args: build --clean --skip=before,validate # skip validate skips initial sanity checks in order to be able to fully run env: TM_VERSION: ${{ env.TM_VERSION }} - name: Release @@ -47,7 +47,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: version: latest - args: release --rm-dist --release-notes ./RELEASE_NOTES.md + args: release --clean --release-notes ./RELEASE_NOTES.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TM_VERSION: ${{ env.TM_VERSION }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 0dc2fe6e66..5a2f6a5c98 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,9 +20,10 @@ builds: - -s -w -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X github.com/cosmos/cosmos-sdk/version.Name=umee -X github.com/cosmos/cosmos-sdk/version.AppName=umeed -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger -X github.com/cometbft/cometbft/version.TMCoreSemVer={{ .Env.TM_VERSION }} goos: - linux + # - darwin goarch: - - amd64 -# - arm64 # github only supports linux @ amd64 + - amd64 # github only supports linux @ amd64 + # - arm64 archives: - id: tarball @@ -46,4 +47,4 @@ checksum: algorithm: sha256 changelog: - skip: false + disable: true