File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags : [ 'v*' ]
66
7+ permissions :
8+ contents : write
9+
710jobs :
811 generate-manifest-json :
912 runs-on : ubuntu-latest
2932 sudo lua -e '
3033 require("metadata");
3134 local dkjson = require("dkjson");
32- PLUGIN.downloadUrl = "https://github.com/${{ github.repository }}/releases/download/v${{ env.VERSION }}/${{ env.REPO_NAME }}_ ${{ env.VERSION }}.zip";
35+ PLUGIN.downloadUrl = "https://github.com/${{ github.repository }}/releases/download/v${{ env.VERSION }}/${{ env.REPO_NAME }}- ${{ env.VERSION }}.zip";
3336 local str = dkjson.encode(PLUGIN);
3437 print(str)' > manifest.json
3538 cat manifest.json
5760 with :
5861 type : " zip"
5962 directory : " ./"
60- filename : " ${{ env.REPO_NAME }}_ ${{ env.VERSION }}.zip"
63+ filename : " ${{ env.REPO_NAME }}- ${{ env.VERSION }}.zip"
6164 exclusions : " *.git* manifest.json"
6265 - name : Publish release
6366 uses : svenstaro/upload-release-action@v2
7376 file : ./manifest.json
7477 tag : " manifest"
7578 overwrite : true
76- file_glob : true
79+ file_glob : true
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ Node.js plugin for [vfox](https://vfox.lhan.me/).
77After installing [ vfox] ( https://github.com/version-fox/vfox ) , install the plugin by running:
88
99``` bash
10- vfox install nodejs
10+ vfox add nodejs
1111```
1212
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ PLUGIN = {}
55--- Plugin name
66PLUGIN .name = " nodejs"
77--- Plugin version
8- PLUGIN .version = " 0.0.5 "
8+ PLUGIN .version = " 0.1.1 "
99--- Plugin repository
1010PLUGIN .homepage = " https://github.com/version-fox/vfox-nodejs"
1111--- Plugin license
@@ -15,7 +15,7 @@ PLUGIN.description = "Node.js runtime environment."
1515
1616--- !!! OPTIONAL !!!
1717-- minimum compatible vfox version
18- PLUGIN .minRuntimeVersion = " 0.2.6 "
18+ PLUGIN .minRuntimeVersion = " 0.3.0 "
1919-- Some things that need user to be attention!
2020PLUGIN .notes = {}
2121
You can’t perform that action at this time.
0 commit comments