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.
1 parent ba612a6 commit 5a8de7bCopy full SHA for 5a8de7b
Dockerfile
@@ -44,9 +44,9 @@ RUN <<EOR
44
version="$(printf %s "${description%-g*}" | tr -c -s [0-9.] .)"
45
version="${version#.}"
46
version="${version%.}"
47
- hash="$(printf %d "0x${description##*-g}")"
+ hash="${description##*-g}"
48
if [ "${hash}" != "${description}" ]; then
49
- version="${version}.dev${hash}"
+ version="${version}.dev$(printf %d "0x${hash}")"
50
fi
51
echo "${version}"
52
}
0 commit comments