From f84fb50a4357af49acac6ca151057d2af74d63c9 Mon Sep 17 00:00:00 2001 From: Joel Lee Date: Mon, 17 Jun 2024 10:22:33 +0200 Subject: [PATCH] fix: patch release workflow (#922) ## 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 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05c9373f..21c7b41e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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