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 4e6d30c commit 68bc391Copy full SHA for 68bc391
.buildkite/hooks/pre-command
@@ -2,7 +2,7 @@ set -eu
2
3
git log -25000 --format='%H' | sort > tmp-log
4
git show-ref | grep tags/mysql-8 | sort > tmp-tags
5
-export CONTAINER_SEMVER=$(join tmp-log tmp-tags | sort -k2 | tail -1 | cut -d- -f2)
+export CONTAINER_SEMVER=$(join tmp-log tmp-tags | sort -t. -n -k3 | tail -1 | cut -d- -f2)
6
echo "Semantic version = \"${CONTAINER_SEMVER}\""
7
8
export CONTAINER_SHORT_SHA=$(git log -1 --pretty='%h')
0 commit comments