angular-docs-cn/dev-infra/release
Paul Gschwendtner 530e45f093 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:03 -07:00
..
build fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
config feat(dev-infra): create ReleaseNotes class for generating release notes during publishing (#41476) 2021-04-09 07:49:48 -07:00
publish fix(dev-infra): publish script python check not working on windows (#41943) 2021-05-05 13:46:03 -07:00
set-dist-tag refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
stamping refactor(dev-infra): move `getRepoBaseDir()` to `GitClient` (#41527) 2021-04-15 11:28:12 -07:00
versioning fix(dev-infra): spawned child processes messing with tty output (#41948) 2021-05-05 13:45:28 -07:00
BUILD.bazel feat(dev-infra): support --mode flag for building environment stamp (#40095) 2020-12-15 13:36:56 -08:00
cli.ts feat(dev-infra): support --mode flag for building environment stamp (#40095) 2020-12-15 13:36:56 -08:00