Fixed the update not outputing the version numbers on update
This commit is contained in:
parent
9e2b585400
commit
f76ebfb936
|
@ -114,6 +114,8 @@ for version in "${versions[@]}"; do
|
||||||
baseuri=$(get_config "${parentpath}" "baseuri")
|
baseuri=$(get_config "${parentpath}" "baseuri")
|
||||||
update=$(in_versions_to_update "${version}")
|
update=$(in_versions_to_update "${version}")
|
||||||
|
|
||||||
|
[ "${update}" -eq 0 ] && info "Updating version ${version}..."
|
||||||
|
|
||||||
# Get supported variants according the target architecture
|
# Get supported variants according the target architecture
|
||||||
# See details in function.sh
|
# See details in function.sh
|
||||||
IFS=' ' read -ra variants <<<"$(get_variants "${parentpath}")"
|
IFS=' ' read -ra variants <<<"$(get_variants "${parentpath}")"
|
||||||
|
@ -122,7 +124,6 @@ for version in "${versions[@]}"; do
|
||||||
add_stage "${baseuri}" "${version}" "default"
|
add_stage "${baseuri}" "${version}" "default"
|
||||||
|
|
||||||
if [ "${update}" -eq 0 ]; then
|
if [ "${update}" -eq 0 ]; then
|
||||||
info "Updating version ${version}..."
|
|
||||||
update_node_version "${baseuri}" "${versionnum}" "${parentpath}/Dockerfile.template" "${version}/Dockerfile" &
|
update_node_version "${baseuri}" "${versionnum}" "${parentpath}/Dockerfile.template" "${version}/Dockerfile" &
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue