diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05c9373f0..21c7b41e4 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