Skip to content

Commit 9dc7c5b

Browse files
Merge pull request #760 from LaurentGoderre/update-output
Fixed the update not outputing the version numbers on update
2 parents 9e2b585 + f76ebfb commit 9dc7c5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

update.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ for version in "${versions[@]}"; do
114114
baseuri=$(get_config "${parentpath}" "baseuri")
115115
update=$(in_versions_to_update "${version}")
116116

117+
[ "${update}" -eq 0 ] && info "Updating version ${version}..."
118+
117119
# Get supported variants according the target architecture
118120
# See details in function.sh
119121
IFS=' ' read -ra variants <<<"$(get_variants "${parentpath}")"
@@ -122,7 +124,6 @@ for version in "${versions[@]}"; do
122124
add_stage "${baseuri}" "${version}" "default"
123125

124126
if [ "${update}" -eq 0 ]; then
125-
info "Updating version ${version}..."
126127
update_node_version "${baseuri}" "${versionnum}" "${parentpath}/Dockerfile.template" "${version}/Dockerfile" &
127128
fi
128129
fi

0 commit comments

Comments
 (0)