fix version again

This commit is contained in:
lights0123 2020-11-22 19:11:14 -05:00
parent 878957c45d
commit 4a957aba88
No known key found for this signature in database
GPG key ID: 28F315322E37972F

View file

@ -102,7 +102,7 @@ jobs:
const {repo: {owner, repo}, sha} = context;
console.log({owner, repo, sha});
const {name, version} = require(`${process.env.GITHUB_WORKSPACE}/package.json`);
const {name, version} = require(`${process.env.GITHUB_WORKSPACE}/desktop/package.json`);
const arch = process.arch === 'x64' ? 'amd64' : process.arch;
await github.repos.uploadReleaseAsset({