We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f29e2 commit fdf29e3Copy full SHA for fdf29e3
.github/workflows/release.yml
@@ -71,8 +71,12 @@ jobs:
71
const packageJson = JSON.parse(fs.readFileSync('./packages/runtime/package.json', 'utf8'));
72
return 'v' + packageJson.version;
73
74
- - name: Publish to npm
+ - name: Create & push git tag
75
+ if: github.event.inputs.npm_tag == 'latest'
76
run: |
77
git tag ${{ steps.version_to_release.outputs.result }}
78
git push origin ${{ steps.version_to_release.outputs.result }}
79
+
80
+ - name: Publish to npm
81
+ run: |
82
pnpm -r publish --tag ${{ github.event.inputs.npm_tag }} --publish-branch ${{ github.event.inputs.branch }}
0 commit comments