File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44 workflow_call :
55 inputs :
66 tag :
7- description : ' Tagged version to release on NPM '
8- default : ' '
7+ description : ' Publish as prerelease '
8+ default : false
99 required : false
10- type : string
10+ type : boolean
1111
1212jobs :
1313 manual-publish :
4747
4848 - name : Publish package
4949 run : |
50- if [ "${{ inputs.tag }}" != "" ]; then
51- npm publish --workspaces --tag $(echo "${{ inputs.tag }}" | sed 's/^v//')
50+ if [ "${{ inputs.next }}" == true ]; then
51+ npm publish --workspaces --tag next
5252 else
5353 npm publish --workspaces
5454 fi
Original file line number Diff line number Diff line change 4444 - name : Publish package
4545 run : |
4646 if [[ "${GITHUB_REF#refs/tags/}" =~ "preview" ]]; then
47- npm publish --workspaces --tag $(echo "${GITHUB_REF#refs/tags/}" | sed 's/^v//')
47+ npm publish --workspaces --tag next
4848 else
4949 npm publish --workspaces
5050 fi
You can’t perform that action at this time.
0 commit comments