We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1f0e90 + 01182bc commit 27a0cf0Copy full SHA for 27a0cf0
update.sh
@@ -122,7 +122,7 @@ function update_node_version() {
122
shift
123
fi
124
125
- fullVersion="$(curl -sSL --compressed "${baseuri}" | grep '<a href="v'"${version}." | sed -E 's!.*<a href="v([^"/]+)/?".*!\1!' | cut -d'.' -f2,3 | sort -n | tail -1)"
+ fullVersion="$(curl -sSL --compressed "${baseuri}" | grep '<a href="v'"${version}." | sed -E 's!.*<a href="v([^"/]+)/?".*!\1!' | cut -d'.' -f2,3 | sort -V | tail -1)"
126
(
127
cp "${template}" "${dockerfile}-tmp"
128
local fromprefix=""
0 commit comments