diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6aee6ab..e928f50 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -94,15 +94,10 @@ jobs: id: publish env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | if [ ${{ inputs.release-type }} == 'alpha' ]; then pnpm release prerelease --yes else pnpm release ${{ inputs.release-type }} --force-publish --no-private --yes - fi - - # On manual workflow dispatch release stable version - - name: Release version - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: pnpm release ${{ github.event.inputs.releaseType }} \ No newline at end of file + fi \ No newline at end of file