From 8bc508a84ccb965eeefca702bfccb61f1c86dd4f Mon Sep 17 00:00:00 2001 From: yiannistri <8741709+yiannistri@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:46:47 +0100 Subject: [PATCH] ci: Specify the tag for the new release. This is necessary because by default, goreleaser sorts tags by name which causes problems when >1 tags point to the same commit (un-rc process). --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 53f2dced..100580dc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,6 +55,7 @@ jobs: - name: Create release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required for creating GH release + GORELEASER_CURRENT_TAG: ${{ github.ref_name }} # specify the tag to be released id: goreleaser uses: goreleaser/goreleaser-action@v6 with: