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:
111
111
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112
112
RELEASE_GITHUB_TOKEN : ${{ steps.app-token.outputs.token }} # used for tags
113
113
run : |
114
+ git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/supabase/supabase-js.git
114
115
npm run release-stable -- --versionSpecifier "${{ github.event.inputs.version_specifier }}"
115
116
116
117
- name : Summary
Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ if (!validSpecifiers.includes(versionSpecifier) && !isValidVersion) {
47
47
// specifier: versionSpecifier,
48
48
// })
49
49
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
+
50
55
// Update version.ts files with the new versions
51
56
console . log ( '\n📦 Updating version.ts files...' )
52
57
// execSync('npx tsx scripts/update-version-files.ts', { stdio: 'inherit' })
You can’t perform that action at this time.
0 commit comments