File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 - name : Checkout
5252 uses : actions/checkout@v6
5353 with :
54- persist-credentials : false
54+ persist-credentials : true
5555
5656 - name : Setup pnpm
5757 uses : pnpm/action-setup@v6
@@ -75,18 +75,12 @@ jobs:
7575 cd packages/types
7676
7777 if [ "${{ steps.input-validation.outputs.prerelease }}" = "true" ]; then
78- GIT_TAG=$( pnpm version ${{ inputs.increment }} --no-git- tag-version -- preid ${{ inputs.preid }})
78+ pnpm version ${{ inputs.increment }} --tag-version-prefix "api-v" -- preid ${{ inputs.preid }}
7979 else
80- GIT_TAG=$( pnpm version ${{ inputs.increment }} --no-git- tag-version)
80+ pnpm version ${{ inputs.increment }} --tag-version-prefix "api-v"
8181 fi
8282
83- VERSION=$(pnpm show ./ version)
84- git add package.json
85- git commit -nm "bump api to v$VERSION"
86- git push
87-
88- git tag "$GIT_TAG"
89- git push --tags
83+ git push --follow-tags
9084
9185 - name : Publish types package
9286 run : |
Original file line number Diff line number Diff line change 5656 env :
5757 NODE_ENV : 1
5858 run : |
59- echo VERSION=$(pnpm show ./ version) >> $GITHUB_OUTPUT
59+ echo VERSION=$(pnpm pkg get version) >> $GITHUB_OUTPUT
6060 pnpm vsce package --no-dependencies
6161
6262 - name : Upload VSIX file
6767
6868 - name : Commit and push version change
6969 run : |
70- git push --follow-tags https://VSC-NeuroPilot:${{secrets.GITHUB_TOKEN}}:@github.com/VSC-NeuroPilot/neuropilot
70+ git push --follow-tags
7171
7272 - name : Update docs
7373 env :
You can’t perform that action at this time.
0 commit comments