mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
fix upload script
This commit is contained in:
parent
00ae6da2b3
commit
7cc953d87d
@ -1,4 +1,5 @@
|
||||
import execa from 'execa';
|
||||
import { readFile } from 'fs/promises';
|
||||
|
||||
// we need a wrapper script because altool tends to error out very often
|
||||
// https://developer.apple.com/forums/thread/698477
|
||||
@ -15,8 +16,11 @@ const bundleId = args[4];
|
||||
// seems to be the same
|
||||
const ascPublicId = apiIssuer;
|
||||
|
||||
const packageJson = JSON.parse(await readFile(new URL('../package.json', import.meta.url)));
|
||||
|
||||
const packageVersion = process.env.npm_package_version;
|
||||
console.log('Using version', packageJson.version);
|
||||
|
||||
const packageVersion = packageJson.version;
|
||||
// const packageVersion = '3.39.2';
|
||||
|
||||
const bundleVersion = packageVersion;
|
||||
|
Loading…
Reference in New Issue
Block a user