Skip to content

Commit

Permalink
fix: release scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Sep 11, 2024
1 parent c30f25e commit e1e951a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
fi

0 comments on commit e1e951a

Please sign in to comment.