feat: add desktop repo (#1071)

This commit is contained in:
Mo
2022-06-07 11:52:15 -05:00
committed by GitHub
parent 0bb12db948
commit 0b7ce82aaa
135 changed files with 17821 additions and 180 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}"`)
})()