diff --git a/.github/workflows/publishRelease.yml b/.github/workflows/publishRelease.yml index 72daba7..7d8043a 100644 --- a/.github/workflows/publishRelease.yml +++ b/.github/workflows/publishRelease.yml @@ -31,11 +31,11 @@ jobs: if: ${{ env.IS_PRERELEASE == 'false' }} - run: pnpm release --prerelease if: ${{ env.IS_PRERELEASE == 'true' }} - - run: pnpm publish + - run: pnpm publish --publish-branch release-candidate if: ${{ env.IS_PRERELEASE == 'false' }} env: NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }} - - run: pnpm publish --tag prerelease + - run: pnpm publish --tag prerelease --publish-branch release-candidate if: ${{ env.IS_PRERELEASE == 'true' }} env: NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }}