File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1010 release_please :
1111 runs-on : ubuntu-latest
1212 permissions :
13+ id-token : write
1314 contents : write
1415 pull-requests : write
1516 steps :
@@ -102,16 +103,17 @@ jobs:
102103
103104 echo "Publishing auth-js now..."
104105
105- npm publish --tag "$DIST_TAG"
106+ npm publish --provenance -- tag "$DIST_TAG"
106107
107108 echo "Publishing gotrue-js now..."
108109
109110 for f in package.json package-lock.json
110111 do
111- sed -i 's|\(["/]\)auth-js|\1gotrue-js|g' "$f"
112+ # only replace name not repository, homepage, etc.
113+ sed -i 's|\("name":[[:space:]]*"@supabase/\)auth-js|\1gotrue-js|g' "$f"
112114 done
113115
114- npm publish --tag "$DIST_TAG"
116+ npm publish --provenance -- tag "$DIST_TAG"
115117
116118 - name : Create GitHub release and branches
117119 if : ${{ steps.release.outputs.release_created == 'true' || steps.release.outputs.prs_created == 'true' }}
Original file line number Diff line number Diff line change 2020 "main" : " dist/main/index.js" ,
2121 "module" : " dist/module/index.js" ,
2222 "types" : " dist/module/index.d.ts" ,
23- "repository" : " supabase/auth-js" ,
23+ "repository" : " github: supabase/auth-js" ,
2424 "scripts" : {
2525 "clean" : " rimraf dist docs" ,
2626 "coverage" : " echo \" run npm test\" " ,
You can’t perform that action at this time.
0 commit comments