File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ jobs:
111111 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112112 RELEASE_GITHUB_TOKEN : ${{ steps.app-token.outputs.token }} # used for tags
113113 run : |
114+ git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/supabase/supabase-js.git
114115 npm run release-stable -- --versionSpecifier "${{ github.event.inputs.version_specifier }}"
115116
116117 - name : Summary
Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ if (!validSpecifiers.includes(versionSpecifier) && !isValidVersion) {
4747 // specifier: versionSpecifier,
4848 // })
4949
50+ if ( process . env . RELEASE_GITHUB_TOKEN ) {
51+ const remoteUrl = `https://x-access-token:${ process . env . RELEASE_GITHUB_TOKEN } @github.com/supabase/supabase-js.git`
52+ execSync ( `git remote set-url origin "${ remoteUrl } "` )
53+ }
54+
5055 // Update version.ts files with the new versions
5156 console . log ( '\n📦 Updating version.ts files...' )
5257 // execSync('npx tsx scripts/update-version-files.ts', { stdio: 'inherit' })
You can’t perform that action at this time.
0 commit comments