electron/script/lib
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
..
tls refactor: replace var with const / let (#14866) 2018-09-29 09:17:00 +10:00
__init__.py Move helper functions into a common module. 2013-06-20 22:51:58 +08:00
config.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
env_util.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
git.py build: actually run import-patches on gclient sync (#17885) 2019-04-23 10:28:26 -07:00
gn.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
native_tests.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
npm.py build: fail a build if some hooks don't succeed (#16369) 2019-01-23 11:31:14 +01:00
npx.py build: ensure consistent lock files across multiple machines (#17955) 2019-04-30 13:59:47 -07:00
patches.py chore: deprecate apply-patches in favour of git-{import,export}-patches (#15300) 2018-10-24 11:24:11 -07:00
util.py fix: use print() function in both Python 2 and Python 3 (#18395) 2019-06-15 10:26:09 -07:00
utils.js build: get current release branch from commit (#18810) 2019-06-16 20:56:43 -07:00
version-utils.js build: fix issues for stable release we fixed in 5-0-x (#18064) 2019-04-30 11:36:39 -07:00