Skip to content

Commit

Permalink
fix: patch release workflow (#922)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?

Fixes: #921  so we add the latest tag on npm.

Currently we [publish the
package](https://www.npmjs.com/package/@supabase/auth-js?activeTab=versions)
but the tag doesn't seem to be appended correctly
  • Loading branch information
J0 committed Jun 17, 2024
1 parent 9842997 commit f84fb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
if [ "$RELEASE_CANDIDATE" == "true" ]
then
DIST_TAG=rc
elif [ "$GITHUB_REF" == "refs/heads/main" ] && [ "$GITHUB_REF" == "refs/heads/master" ]
elif [ "$GITHUB_REF" == "refs/heads/main" ] || [ "$GITHUB_REF" == "refs/heads/master" ]
then
# This is the main branch and it's not a prerelease, so the dist-tag should be `latest`.
DIST_TAG=latest
Expand Down

0 comments on commit f84fb50

Please sign in to comment.