angular/dev-infra
Paul Gschwendtner 63020033c4 fix(dev-infra): publish script python check not working on windows (#41943)
We recently added a sanity check that ensures that `python` is
available for Bazel. The check relies on `/usr/bin/python` to check
if python is available w/ the correct version. The problem is
that on Windows there is no guarantee that the `/usr/bin` folder
exists, so the `ng-dev release publish` command always fails.

We fix this by just accessing the `env` binary that is also consulted
by scripts executed within Bazel actions. The `env` binary can be
assumed exist in the shell's `$PATH` and can point us to Python
as if it would be executed within Bazel.

PR Close #41943
2021-05-05 13:46:05 -07:00
..
bazel fix(dev-infra): add missing BUILD file to dev-infra/bazel:files (#38026) 2020-07-15 12:34:46 -07:00
benchmark fix(dev-infra): update build tooling for latest changes in rules_nodejs (#40710) 2021-02-09 10:48:46 -08:00
browsers build: use the latest versions of Chrome (v87) and Firefox (v84) in tests (#40150) 2020-12-21 14:15:31 -08:00
caretaker refactor(dev-infra): use a singleton for GitClient (#41589) 2021-04-12 21:05:30 -07:00
commit-message build: fix crash when validating commit messages (#41949) 2021-05-04 21:05:19 -07:00
format Revert "feat(dev-infra): create the prettier formatter for ng-dev format tooling (#41824)" (#41844) 2021-04-27 13:24:29 -07:00
ngbot refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
pr fix(dev-infra): add github token requirement for discover-new-conflicts (#41825) 2021-04-27 10:23:18 -07:00
pullapprove refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
release fix(dev-infra): publish script python check not working on windows (#41943) 2021-05-05 13:46:05 -07:00
ts-circular-dependencies fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:46 -08:00
utils fix(dev-infra): spawned child processes messing with tty output (#41948) 2021-05-05 13:45:29 -07:00
build-worker.js fix(dev-infra): remove commit message wizard and builder (#41280) (#41285) 2021-03-22 08:56:20 -07:00
BUILD.bazel feat(dev-infra): create ReleaseNotes class for generating release notes during publishing (#41476) 2021-04-09 07:49:50 -07:00
cli.ts fix(dev-infra): ensure hashbang is present in both published and local ng-devs (#39443) 2020-10-27 09:28:38 -07:00
commit-message-filter.js refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
index.bzl fix(dev-infra): allow build-worker to be used in forked process (#40012) 2020-12-08 12:06:51 -08:00
ng-dev.js fix(dev-infra): publish script python check not working on windows (#41943) 2021-05-05 13:46:05 -07:00
tmpl-package.json Revert "feat(dev-infra): create the prettier formatter for ng-dev format tooling (#41824)" (#41844) 2021-04-27 13:24:29 -07:00
tsconfig.json build: add tsconfig with strict flag to dev-infra package (#38656) 2020-09-28 16:11:39 -04:00