-
Notifications
You must be signed in to change notification settings - Fork 75
chore: update generation config #3749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 15 commits
4e815be
6fb8766
a5b5c53
f2489b6
3daabac
30ac839
fa8e3ac
33cfe00
fd544f4
b2a194c
e2fb5c5
445c1af
45c9c06
00ec416
ae98232
1a3a58b
f0a5648
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| #!/bin/bash | ||
| set -ex | ||
| set -exo pipefail | ||
| # This script should be run at the root of the repository. | ||
| # This script is used to, when a pull request changes the generation | ||
| # configuration (generation_config.yaml by default) or Dockerfile: | ||
|
|
@@ -106,9 +106,11 @@ if [[ "${showcase_mode}" == "true" ]]; then | |
| fi | ||
|
|
||
| # get changed library list. | ||
| changed_libraries=$(python hermetic_build/common/cli/get_changed_libraries.py create \ | ||
| changed_libraries_file=$(mktemp) | ||
| python hermetic_build/common/cli/get_changed_libraries.py create \ | ||
| --baseline-generation-config-path="${baseline_generation_config}" \ | ||
| --current-generation-config-path="${generation_config}") | ||
| --current-generation-config-path="${generation_config}" | tee > "${changed_libraries_file}" | ||
| changed_libraries=$(cat "${changed_libraries_file}") | ||
| echo "Changed libraries are: ${changed_libraries:-"No changed library"}." | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect this double quotations included in double quotations. Check this before submitting this.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I surrounded the whole variable with double quotes now. |
||
|
|
||
| # run hermetic code generation docker image. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tee command doesn't need ">".