mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-02 12:47:41 +02:00
Tools: Create an Android pre-release by default
This commit is contained in:
parent
b1e5896d4c
commit
c2d5fc13d7
@ -145,11 +145,9 @@ async function createRelease(name: string, tagName: string, version: string): Pr
|
||||
async function main() {
|
||||
const argv = require('yargs').argv;
|
||||
|
||||
if (!['release', 'prerelease'].includes(argv.type)) throw new Error('Must specify release type. Either --type=release or --type=prerelease');
|
||||
|
||||
await gitPullTry(false);
|
||||
|
||||
const isPreRelease = argv.type === 'prerelease';
|
||||
const isPreRelease = !('type' in argv) || argv.type === 'prerelease';
|
||||
|
||||
process.chdir(rnDir);
|
||||
await execCommand2('yarn run build', { showStdout: false });
|
||||
|
Loading…
Reference in New Issue
Block a user