angular-docs-cn/dev-infra
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
..
bazel refactor(dev-infra): switch away from deprecated platform execution properties (#41941) 2021-05-04 21:09:30 -07:00
benchmark fix(dev-infra): update build tooling for latest changes in rules_nodejs (#40710) 2021-02-09 10:48:43 -08:00
browsers docs(dev-infra): fix typos in `dev-infra` docs/comments (#41688) 2021-04-19 08:28:34 -07:00
caretaker refactor(dev-infra): move `getRepoBaseDir()` to `GitClient` (#41527) 2021-04-15 11:28:12 -07:00
commit-message build: fix crash when validating commit messages (#41949) 2021-05-04 21:05:18 -07:00
format fix(dev-infra): correctly detect prettier config (#41860) 2021-04-28 09:21:09 -07:00
ngbot refactor(dev-infra): move `getRepoBaseDir()` to `GitClient` (#41527) 2021-04-15 11:28:12 -07:00
pr fix(dev-infra): add github token requirement for discover-new-conflicts (#41825) 2021-04-27 10:23:16 -07:00
pullapprove refactor(dev-infra): move `getRepoBaseDir()` to `GitClient` (#41527) 2021-04-15 11:28:12 -07:00
release fix(dev-infra): publish script python check not working on windows (#41943) 2021-05-05 13:46:03 -07:00
ts-circular-dependencies fix(dev-infra): exclude node_modules from circular dependency checks (#41407) 2021-04-02 15:47:33 -07:00
utils fix(dev-infra): spawned child processes messing with tty output (#41948) 2021-05-05 13:45:28 -07:00
BUILD.bazel feat(dev-infra): create ReleaseNotes class for generating release notes during publishing (#41476) 2021-04-09 07:49:48 -07:00
build-worker.js fix(dev-infra): remove getBaseDir method from GitClient (#41898) 2021-04-30 14:33:59 -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:03 -07:00
tmpl-package.json feat(dev-infra): create the prettier formatter for ng-dev format tooling (#41824) 2021-04-27 12:23:05 -07:00
tsconfig.json build: add tsconfig with strict flag to dev-infra package (#38656) 2020-09-28 16:11:39 -04:00