Skip to content

Commit

Permalink
ci: fix manual release
Browse files Browse the repository at this point in the history
  • Loading branch information
overbit committed Feb 29, 2024
1 parent 9e2d55d commit 39f7a38
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/releaseBeta.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Manual Publish Package to npmjs
name: Manual Publish Package
run-name: Version ${{ github.event.inputs.version }}

on:
workflow_call:
workflow_dispatch:
inputs:
version:
type: string
Expand All @@ -19,7 +21,7 @@ jobs:
with:
node-version: 'lts/*'
- run: npm ci
- run: sed -i 's/0.0.0-development/${{ inputs.version }}/' ./package.json
- run: npm version ${{ inputs.version }} --no-git-tag-version
- run: npm publish --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 39f7a38

Please sign in to comment.