File tree Expand file tree Collapse file tree
frontend/vscode-extension Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: Open VSX Extension Release
22
33on :
44 push :
5- tags :
6- - " vscode/v*"
5+ branches :
6+ - main
7+ paths :
8+ - ' frontend/vscode-extension/package.json'
79
810permissions :
911 contents : read
5254 working-directory : frontend/vscode-extension
5355 run : jq '.publisher = "hatchet-dev"' package.json > tmp.json && mv tmp.json package.json
5456
55- - name : Extract version from tag
57+ - name : Extract version from package.json
5658 id : version
57- run : echo "VERSION=${GITHUB_REF_NAME#vscode/v}" >> $GITHUB_OUTPUT
59+ working-directory : frontend/vscode-extension
60+ run : echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
5861
5962 - name : Package extension
6063 working-directory : frontend/vscode-extension
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: VS Code Extension Release
22
33on :
44 push :
5- tags :
6- - ' vscode/v*'
5+ branches :
6+ - main
7+ paths :
8+ - ' frontend/vscode-extension/package.json'
79
810permissions :
911 contents : write
4850 working-directory : frontend/vscode-extension
4951 run : pnpm build:prod
5052
51- - name : Extract version from tag
53+ - name : Extract version from package.json
5254 id : version
53- run : echo "VERSION=${GITHUB_REF_NAME#vscode/v}" >> $GITHUB_OUTPUT
55+ working-directory : frontend/vscode-extension
56+ run : echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
5457
5558 - name : Package extension
5659 working-directory : frontend/vscode-extension
6568 - name : Upload .vsix as release artifact
6669 uses : softprops/action-gh-release@v2
6770 with :
71+ tag_name : vscode/v${{ steps.version.outputs.VERSION }}
6872 files : frontend/vscode-extension/hatchet-${{ steps.version.outputs.VERSION }}.vsix
6973 name : Hatchet VS Code Extension v${{ steps.version.outputs.VERSION }}
7074 body : |
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ This is an extension for [Hatchet](https://github.com/hatchet-dev/hatchet) which
66
77After installation, each Hatchet DAG definition will show a button ` Show Hatchet DAG ` :
88
9- ![ VSCode Button] ( . /assets/vscode_button.png)
9+ ![ VSCode Button] ( https://raw.githubusercontent.com/hatchet-dev/hatchet/main/frontend/vscode-extension /assets/vscode_button.png)
1010
1111This will then open a webview showing the DAG definition. As you update your definition, the webview will automatically stay up to date:
1212
13- ![ Webview] ( . /assets/vscode_dag.png)
13+ ![ Webview] ( https://raw.githubusercontent.com/hatchet-dev/hatchet/main/frontend/vscode-extension /assets/vscode_dag.png)
1414
1515## Reporting issues
1616
Original file line number Diff line number Diff line change 22 "name" : " hatchet" ,
33 "displayName" : " Hatchet" ,
44 "description" : " Visualize Hatchet workflow DAGs inline in your editor" ,
5- "version" : " 0.1.1 " ,
5+ "version" : " 0.1.2 " ,
66 "publisher" : " hatchet" ,
77 "license" : " MIT" ,
88 "repository" : {
You can’t perform that action at this time.
0 commit comments