electron/script
Shelley Vohr 632bbf948d
build: get current release branch from commit (#18810)
When we blast off again, we check out a commit so the current branch ends up being incorrect and is HEAD rather than X-Y-Z. This therefore no longer just runs git rev-parse --abbrev-ref HEAD; it instead checks to ensure that the result of that call matches the release branch pattern. If it doesn't, it fetches the containing branch for the commit.

Since we only ever blast off from bump commits, we can safely assume that only one release branch will ever contain the bump commit and therefore be the one we want to use when tagging the release on npm.
2019-06-16 20:56:43 -07:00
..
codesign spec: add tests for the autoUpdater on macOS that actually test if it works (#17442) 2019-03-29 17:32:52 -07:00
lib build: get current release branch from commit (#18810) 2019-06-16 20:56:43 -07:00
release-notes build: remove deprecated octokit auth calls (#18205) 2019-05-07 18:48:40 -07:00
.electron.attributes build: ensure we use objc regexps for export-patches (#17598) 2019-03-28 14:01:43 -07:00
apply_all_patches.py build: actually run import-patches on gclient sync (#17885) 2019-04-23 10:28:26 -07:00
bump-version.js build: ensure consistent lock files across multiple machines (#17955) 2019-04-30 13:59:47 -07:00
check-relative-doc-links.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
check-trailing-whitespace.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
check-zip-manifest.py ci: add check for dist zip file changes (#18446) 2019-05-29 09:40:02 -07:00
ci-release-build.js build: move Windows release builds to AppVeyor cloud (#18337) 2019-05-23 16:54:34 -04:00
dbus_mock.py refactor: use one script to launch all linters (#14622) 2018-09-17 16:09:02 -05:00
dist_zip.linux.arm.manifest refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00
dist_zip.linux.arm64.manifest refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00
dist_zip.linux.x64.manifest refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00
dist_zip.linux.x86.manifest refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00
dist_zip.mac.x64.manifest chore: bump chromium to bd6aad6a4b37dad7aae42fec349e9 (master) (#18626) 2019-06-04 17:27:07 -07:00
dist_zip.mac_mas.x64.manifest chore: bump chromium to bd6aad6a4b37dad7aae42fec349e9 (master) (#18626) 2019-06-04 17:27:07 -07:00
dist_zip.win.ia32.manifest ci: add windows zip manifest checking (#18629) 2019-06-05 11:58:11 -04:00
dist_zip.win.x64.manifest ci: add windows zip manifest checking (#18629) 2019-06-05 11:58:11 -04:00
download-circleci-artifacts.js ci: fix issues downloading from CircleCI (#18652) 2019-06-05 12:21:57 -04:00
dump-symbols.py build: use different directory for generated breakpad symbols (#15716) 2018-11-14 12:47:01 -08:00
external-binaries.json build: use https to download from GitHub for external binaries (#17928) 2019-05-01 13:49:29 -07:00
find-release.js build: remove deprecated octokit auth calls (#18205) 2019-05-07 18:48:40 -07:00
gen-filenames.js Update gen-filenames.js to generate posix paths (#18488) 2019-06-03 11:43:55 -07:00
generate-deps-hash.js build: ensure consistent lock files across multiple machines (#17955) 2019-04-30 13:59:47 -07:00
generate-zip-manifest.py ci: add check for dist zip file changes (#18446) 2019-05-29 09:40:02 -07:00
get-last-major-for-master.js chore: convert bump script to js (#15820) 2018-12-06 11:00:10 -08:00
get-version.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
git-export-patches chore: save HEAD when git-import-patches runs (#17824) 2019-04-17 11:16:03 -07:00
git-import-patches build: actually run import-patches on gclient sync (#17885) 2019-04-23 10:28:26 -07:00
gn-asar.js build: use async remove method to handle errors better (#16917) 2019-03-26 10:34:03 +09:00
lint.js refactor: mojofy autofill (#18723) 2019-06-12 15:08:22 -07:00
merge-electron-checksums.py Do not put the upload logic in make_zip 2016-08-01 21:16:16 +09:00
nan-spec-runner.js build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm (#18607) 2019-06-05 16:30:39 -07:00
native-tests.py ci: run more Chromium unit tests (#15363) 2018-10-25 14:28:50 -04:00
prepare-release.js build: remove deprecated octokit auth calls (#18205) 2019-05-07 18:48:40 -07:00
publish-to-npm.js chore: refactor scripts for octokit update (#16284) 2019-01-08 12:05:58 -08:00
release-artifact-cleanup.js build: remove deprecated octokit auth calls (#18205) 2019-05-07 18:48:40 -07:00
release.js build: remove deprecated octokit auth calls (#18205) 2019-05-07 18:48:40 -07:00
run-clang-format.py chore: add --fix option to lint:cpp (#14977) 2018-10-15 22:59:45 -07:00
run-gn-format.py chore: auto-format GN and python files in our precommit (#16722) 2019-02-05 13:54:45 -08:00
spec-runner.js build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm (#18607) 2019-06-05 16:30:39 -07:00
start.js chore: refactor scripts for octokit update (#16284) 2019-01-08 12:05:58 -08:00
strip-binaries.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
sysroots.json feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
tls.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
update-external-binaries.py ci: make macOS CI faster (#16766) 2019-02-06 13:16:11 -08:00
upload-index-json.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
upload-node-checksums.py docs: replace the atom.io headers URL with electronjs.org (#18328) 2019-05-21 16:17:07 +09:00
upload-node-headers.py chore: fix out_dir usage in upload-symbols.py 2018-09-28 11:24:50 +10:00
upload-symbols.py build: ensure that the uploaded symbol path is correct for our symbol (#16908) 2019-02-12 14:10:24 -08:00
upload-to-github.js build: remove deprecated octokit auth calls (#18205) 2019-05-07 18:48:40 -07:00
upload.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
verify-ffmpeg.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
verify-mksnapshot.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
yarn.js build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm (#18607) 2019-06-05 16:30:39 -07:00
zip-symbols.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00