build: clean up scripts folder, move release scripts, move zip manifest logic (#18945)

* build: move zip manifest logic in zip_manifests dir

* build: remove unused get-version.py script

* chore: move all release/sudowoodo related scripts into script/releases

* chore: update paths to zip manifests in CI configs

* build: fix path to ci release build script for arm tests
This commit is contained in:
Samuel Attard 2019-06-24 10:18:04 -07:00 committed by GitHub
parent 5686a0713e
commit fb01c94511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 122 additions and 147 deletions

View file

@ -2,6 +2,8 @@ const { GitProcess } = require('dugite')
const fs = require('fs')
const path = require('path')
const ELECTRON_DIR = path.resolve(__dirname, '..', '..')
const SRC_DIR = path.resolve(ELECTRON_DIR, '..')
const OUT_DIR = process.env.ELECTRON_OUT_DIR || 'Debug'
require('colors')
@ -22,7 +24,7 @@ function getElectronExec () {
}
function getAbsoluteElectronExec () {
return path.resolve(__dirname, '../../..', getElectronExec())
return path.resolve(SRC_DIR, getElectronExec())
}
async function handleGitCall (args, gitDir) {
@ -61,5 +63,7 @@ module.exports = {
getCurrentBranch,
getElectronExec,
getAbsoluteElectronExec,
OUT_DIR
ELECTRON_DIR,
OUT_DIR,
SRC_DIR
}