Fix a buglet in stable launcher promotion during a release
Turns out there's a very important difference between
`$"{from_channel}"` and `"${from_channel}"`.
Normally, Shellcheck would catch this as
[SC2034](https://github.com/koalaman/shellcheck/wiki/SC2034), but we
don't currently check for this due to excessive false positive rates.
@@ -16,7 +16,7 @@ promote_from_one_channel_to_another() {
from_channel="${3}" # e.g. "stable"
to_channel="${4}" # e.g. "rc-0.75.0"
- artifact="$(latest_from_builder "${target}" $"{from_channel}" "${package_name}")"
+ artifact="$(latest_from_builder "${target}" "${from_channel}" "${package_name}")"
echo "--- Promoting ${artifact} (${target}) to ${to_channel}"
hab pkg promote --auth="${HAB_AUTH_TOKEN}" "${artifact}" "${to_channel}"
}
