File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
17
17
- uses : actions/checkout@v4
18
18
if : github.event.pull_request.base.ref == 'master' && github.event.pull_request.head.ref == 'release-please--branches--master'
19
19
with :
20
- ref : master # used to identify the current RC version via git describe --tags --exclude rc*
20
+ ref : master # used to identify the latest RC version via git describe --tags --match rc*
21
21
fetch-depth : 0
22
22
23
23
- if : github.event.pull_request.base.ref == 'master' && github.event.pull_request.head.ref == 'release-please--branches--master'
24
24
run : |
25
25
set -ex
26
26
27
- MAIN_RELEASE_VERSION=$(node -e "console.log('${{ github.event.pull_request.title }}'.split(' ').reverse().find(x => x.match(/[0-9]+[.][0-9]+[.][0-9]+/)))")
28
- RELEASE_VERSION=$MAIN_RELEASE_VERSION-rc.$ (node -e "console.log( '$(git describe --tags --exclude rc*)'.split('-')[ 1])")
27
+ # finds the latest RC version on master
28
+ RELEASE_VERSION=$(node -e "const a = '$(git describe --tags --match rc*)'.replace(/^rc/, 'v'). split('-'); console.log(a[0] + '-' + a[ 1]); ")
29
29
30
30
PROD_VERSION=$(curl 'https://auth.supabase.io/auth/v1/health' | jq -r .version)
31
31
STAGING_VERSION=$(curl 'https://alt.supabase.green/auth/v1/health' | jq -r .version)
You can’t perform that action at this time.
0 commit comments