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.
-V
-n
1 parent e1f0e90 commit 01182bcCopy full SHA for 01182bc
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