From e85a9fbf77a35233e41afa98de01240ba633659a Mon Sep 17 00:00:00 2001 From: Leonardo Luz Almeida Date: Tue, 8 Oct 2024 15:47:27 -0400 Subject: [PATCH] chore: allow configuring previous tag to use during the release (#28) Signed-off-by: Leonardo Luz Almeida --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8423ec4..8afc8c7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,6 +5,10 @@ on: push: tags: - 'v*' +env: + # If set in the repo env vars it will use this tag to build the release notes. + # Useful when creating a release tag after a release candidate tags phase. + GORELEASER_PREVIOUS_TAG: ${{vars.GORELEASER_PREVIOUS_TAG}} defaults: run: