fix: desktop (#1080)

This commit is contained in:
Mo
2022-06-09 18:01:00 -05:00
committed by GitHub
parent 9c65d64200
commit 6801c3dd3b
16 changed files with 296 additions and 1259 deletions

View File

@@ -0,0 +1,15 @@
import { execSync } from 'child_process'
;(async () => {
const version = process.argv[2]
if (!version) {
console.error('Must specify a version number.')
process.exitCode = 1
return
}
execSync(`yarn version --no-git-tag-version --new-version ${version}`)
process.chdir('app')
execSync(`yarn version --no-git-tag-version --new-version ${version}`)
process.chdir('..')
execSync('git add package.json app/package.json')
execSync(`git commit -m "chore(version): ${version}"`)
})()