Skip to content

Commit

Permalink
ci: fix doubling of rc version identifier (#919)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?

See: https://github.com/supabase/ssr/pull/13/files
  • Loading branch information
J0 committed Jun 12, 2024
1 parent e0dc518 commit 125798b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.<commits> 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]<version>, so prefixing with rc<version>
RELEASE_NAME="rc$RELEASE_VERSION"
Expand Down

0 comments on commit 125798b

Please sign in to comment.