From 125798b265859c49293bac0ffad0b27595889260 Mon Sep 17 00:00:00 2001 From: Joel Lee Date: Wed, 12 Jun 2024 15:54:39 +0200 Subject: [PATCH] ci: fix doubling of rc version identifier (#919) ## What kind of change does this PR introduce? See: https://github.com/supabase/ssr/pull/13/files --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c7554126..05c9373f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: # Use git describe tags to identify the number of commits the branch # is ahead of the most recent non-release-candidate tag, which is # part of the rc. value. - RELEASE_VERSION=$MAIN_RELEASE_VERSION-rc.$(node -e "console.log('$(git describe --tags --exclude *rc*)'.split('-')[1])") + RELEASE_VERSION=$MAIN_RELEASE_VERSION-rc.$(node -e "console.log('$(git describe --tags --exclude rc*)'.split('-')[1])") # release-please only ignores releases that have a form like [A-Z0-9], so prefixing with rc RELEASE_NAME="rc$RELEASE_VERSION"