debugging again

This commit is contained in:
TopchetoEU 2023-09-09 18:42:10 +03:00
parent 7a226c49d3
commit 3824d11c97
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ jobs:
repository: 'java-jscript'
- name: "Build"
run: |
cd java-jscript; node ./build.js release ${{ github.ref }}
ls -R; cd java-jscript; node ./build.js release ${{ github.ref }}
- uses: "marvinpinto/action-automatic-releases@latest"
with:

View File

@ -3,7 +3,10 @@ const fs = require('fs/promises');
const pt = require('path');
const conf = require('./meta');
const { argv } = require('process');
conf.version = argv[3].substring(1);
conf.version ??= argv[3];
if (conf.version.startsWith('refs/tags/')) conf.version = conf.version.substring(10);
if (conf.version.startsWith('v')) conf.version = conf.version.substring(1);
async function* find(src, dst, wildcard) {
const stat = await fs.stat(src);