Skip to content

Commit

Permalink
Merge pull request #760 from LaurentGoderre/update-output
Browse files Browse the repository at this point in the history
Fixed the update not outputing the version numbers on update
  • Loading branch information
LaurentGoderre authored May 28, 2018
2 parents 9e2b585 + f76ebfb commit 9dc7c5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ for version in "${versions[@]}"; do
baseuri=$(get_config "${parentpath}" "baseuri")
update=$(in_versions_to_update "${version}")

[ "${update}" -eq 0 ] && info "Updating version ${version}..."

# Get supported variants according the target architecture
# See details in function.sh
IFS=' ' read -ra variants <<<"$(get_variants "${parentpath}")"
Expand All @@ -122,7 +124,6 @@ for version in "${versions[@]}"; do
add_stage "${baseuri}" "${version}" "default"

if [ "${update}" -eq 0 ]; then
info "Updating version ${version}..."
update_node_version "${baseuri}" "${versionnum}" "${parentpath}/Dockerfile.template" "${version}/Dockerfile" &
fi
fi
Expand Down

0 comments on commit 9dc7c5b

Please sign in to comment.