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

@ -1,7 +1,7 @@
const { expect } = require('chai')
const { remote } = require('electron')
const { nextVersion } = require('../script/bump-version')
const utils = require('../script/lib/version-utils')
const { nextVersion } = require('../script/release/version-bumper')
const utils = require('../script/release/version-utils')
const isCi = remote.getGlobal('isCi')
@ -9,7 +9,7 @@ const isCi = remote.getGlobal('isCi')
// gclient sync on a linux machine. These tests therefore don't run as expected
const describeFn = (isCi && process.platform === 'darwin') ? describe.skip : describe
describeFn('bump-version utils', () => {
describeFn('version-bumper', () => {
it('makes a version with a period delimeter', () => {
const components = {
major: 2,
@ -46,7 +46,7 @@ describeFn('bump-version utils', () => {
})
})
describeFn('bump-version script', () => {
describeFn('version-bumper script', () => {
const nightlyPattern = /[0-9.]*(-nightly.(\d{4})(\d{2})(\d{2}))$/g
const betaPattern = /[0-9.]*(-beta[0-9.]*)/g