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:
parent
5686a0713e
commit
fb01c94511
36 changed files with 122 additions and 147 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue