angular-cn/dev-infra
Paul Gschwendtner dbc2364d16 fix(dev-infra): support running scripts from within a detached head (#37737)
Scripts provided in the `ng-dev` command might use local `git`
commands. For such scripts, we keep track of the branch that
has been checked out before the command has been invoked.

We do this so that we can later (upon command completion)
restore back to the original branch. We do not want to
leave the Git repository in a dirty state.

It looks like this logic currently only deals with branches
but does not work properly when a command is invoked from
a detached head. We can make it work by just checking out
the previous revision (if no branch is checked out).

PR Close #37737
2020-06-26 09:51:09 -07:00
..
bazel refactor(dev-infra): ng_rollup_bundle rule should leverage `@bazel/rollup` (#37623) 2020-06-22 10:55:28 -07:00
benchmark feat(dev-infra): add a way to pass assets down to a benchmark application (#37695) 2020-06-25 11:51:51 -07:00
browsers build: update to latest stable Chromium 83.0.4103 in both rules_webtesting and puppeteer (#37427) 2020-06-08 09:16:40 -07:00
commit-message refactor(dev-infra): use the `exec()` helper from `utils/shelljs` whenever possible (#37444) 2020-06-05 09:21:18 -07:00
format build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
pr fix(dev-infra): support running scripts from within a detached head (#37737) 2020-06-26 09:51:09 -07:00
pullapprove fix(dev-infra): allow for deep merging of pullapprove config aliases (#36915) 2020-06-15 14:29:32 -07:00
release refactor(dev-infra): use the `exec()` helper from `utils/shelljs` whenever possible (#37444) 2020-06-05 09:21:18 -07:00
ts-circular-dependencies style(dev-infra): correct tslint failures in dev-infra directory (#37233) 2020-06-04 12:44:46 -07:00
utils fix(dev-infra): support running scripts from within a detached head (#37737) 2020-06-26 09:51:09 -07:00
BUILD.bazel refactor(dev-infra): small changes and fixes (#36800) 2020-06-03 13:12:30 -07:00
cli.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ng-dev build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tmpl-package.json refactor(dev-infra): migrate github api in GitClient to rely on GithubClient (#37593) 2020-06-22 10:54:43 -07:00