File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,12 @@ jobs:
3737 uses : actions/github-script@v7
3838 with :
3939 script : |
40+ const version = '${{ inputs.tag }}'.replace(/^v/, '');
4041 const artifacts = [
4142 'litepost_aarch64.app.tar.gz',
4243 'litepost_x64.app.tar.gz',
43- 'litepost_0.1.0_amd64. AppImage' ,
44- 'litepost_0.1.0_x64 -setup.exe'
44+ `litepost_${version}_amd64. AppImage` ,
45+ `litepost_${version}_x64 -setup.exe`
4546 ];
4647
4748 const tag = '${{ inputs.tag }}';
@@ -174,11 +175,11 @@ jobs:
174175 },
175176 "linux-x86_64": {
176177 "signature": "'${signatures["linux-x86_64"]}'",
177- "url": "https://github.com/LykosAI/LitePost/releases/download/${{ inputs.tag }}/litepost_${VERSION}_amd64.AppImage"
178+ "url": "https://github.com/LykosAI/LitePost/releases/download/${{ inputs.tag }}/litepost_' ${VERSION}' _amd64.AppImage"
178179 },
179180 "windows-x86_64": {
180181 "signature": "'${signatures["windows-x86_64"]}'",
181- "url": "https://github.com/LykosAI/LitePost/releases/download/${{ inputs.tag }}/litepost_${VERSION}_x64-setup.exe"
182+ "url": "https://github.com/LykosAI/LitePost/releases/download/${{ inputs.tag }}/litepost_' ${VERSION}' _x64-setup.exe"
182183 }
183184 }
184185 }' > latest.json
You can’t perform that action at this time.
0 commit comments