mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
ci-automation: Use a valid reference
`show_changes_params` is not available in this lexical scope, we should have been using `show_changes_params_ref`. This has worked so far only because all the callers of the functions were passing `show_changes_params` to be referenced by `show_changes_params_ref`. Just a lucky happenstance. Spotted by Chewi.
This commit is contained in:
parent
3a86fe08cd
commit
890ec0aba6
@ -391,7 +391,7 @@ function prepare_env_vars_and_params_for_release() {
|
|||||||
|
|
||||||
# Nothing to prepend to show_changes_env.
|
# Nothing to prepend to show_changes_env.
|
||||||
show_changes_env_ref=()
|
show_changes_env_ref=()
|
||||||
show_changes_params=(
|
show_changes_params_ref=(
|
||||||
"NEW_CHANNEL=${new_channel}"
|
"NEW_CHANNEL=${new_channel}"
|
||||||
"NEW_CHANNEL_PREV_VERSION=${new_channel_prev_version}"
|
"NEW_CHANNEL_PREV_VERSION=${new_channel_prev_version}"
|
||||||
# Channel transition stuff
|
# Channel transition stuff
|
||||||
@ -446,7 +446,7 @@ function prepare_env_vars_and_params_for_nightly() {
|
|||||||
|
|
||||||
# Nothing to prepend to show_changes_env.
|
# Nothing to prepend to show_changes_env.
|
||||||
show_changes_env_ref=()
|
show_changes_env_ref=()
|
||||||
show_changes_params=(
|
show_changes_params_ref=(
|
||||||
"NEW_CHANNEL=${ppfb_channel}"
|
"NEW_CHANNEL=${ppfb_channel}"
|
||||||
"NEW_CHANNEL_PREV_VERSION=${ppfb_vernum}"
|
"NEW_CHANNEL_PREV_VERSION=${ppfb_vernum}"
|
||||||
# Channel transition stuff, we set the old channel to be the
|
# Channel transition stuff, we set the old channel to be the
|
||||||
|
Loading…
Reference in New Issue
Block a user