angular-cn/dev-infra/release/publish
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
..
actions fix(dev-infra): do not set lts dist tag on packages from release-candidate train (#41946) 2021-05-04 21:07:57 -07:00
release-notes refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00
test fix(dev-infra): do not set lts dist tag on packages from release-candidate train (#41946) 2021-05-04 21:07:57 -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
actions-error.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
actions.ts refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00
cli.ts refactor(dev-infra): remove unused argument from `publish` script (#41688) 2021-04-19 08:28:34 -07:00
commit-message.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
constants.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
external-commands.ts fix(dev-infra): clear cached bazel outputs before building artifacts for publishing (#41000) 2021-02-26 15:16:01 -08:00
graphql-queries.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
index.ts fix(dev-infra): publish script python check not working on windows (#41943) 2021-05-05 13:46:03 -07:00
pull-request-state.ts refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00