File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 paths :
66 - ' plush.tmbundle/**'
7- - ' .github/workflows/tmbundle.yml' # Trigger on changes to this workflow file
8- workflow_dispatch :
7+ - ' .github/workflows/tmbundle.yml'
98
109jobs :
1110 build :
2524 - name : Install vsce
2625 run : npm install -g @vscode/vsce
2726
27+ - name : Bump Version
28+ run : |
29+ cd plush.tmbundle
30+ npm version patch --no-git-tag-version
31+ git add package.json package-lock.json
32+ git commit -m "Bump version to $(jq -r '.version' package.json)"
33+ git push
34+ env :
35+ GH_TOKEN : ${{ github.token }}
36+
2837 - name : Package .vsix
2938 run : cd plush.tmbundle && vsce package
3039
4554 GH_TOKEN : ${{ github.token }}
4655
4756 - name : Create Release
48- run : gh release create ${{ env.TAG }} 'plush.tmbundle/*.vsix' --generate-notes
57+ run : |
58+ VERSION=$(jq -r '.version' plush.tmbundle/package.json)
59+ gh release create ${{ env.TAG }} 'plush.tmbundle/*.vsix' --title "Plush VSCode Extension $VERSION" --generate-notes
4960 env :
50- GH_TOKEN : ${{ github.token }}
61+ GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments