Skip to content

Commit

Permalink
ci: fix release workflow after rename (#822)
Browse files Browse the repository at this point in the history
Specifies the repository URL config so `semantic-release` will work:
https://semantic-release.gitbook.io/semantic-release/usage/configuration#repositoryurl
  • Loading branch information
hf authored Dec 13, 2023
1 parent 9f13e7e commit a0338cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
npm run build
- name: Create a release for @supabase/auth-js
run: npx semantic-release
run: npx semantic-release -r 'https://github.com/supabase/gotrue-js.git'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -42,7 +42,7 @@ jobs:
sed -i '' 's|\(["/]\)auth-js|\1gotrue-js|g' "$f"
done
npx semantic-release
npx semantic-release -r 'https://github.com/supabase/gotrue-js.git'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a0338cb

Please sign in to comment.