From e1e951a2829f63d1380dbf77bee4e6d729003359 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Wed, 11 Sep 2024 17:13:32 +0200 Subject: [PATCH] fix: release scripts Signed-off-by: Timo Glastra --- .github/workflows/release.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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