1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-27 15:12:30 +02:00

Fix release script

This commit is contained in:
Guillaume Chatelet 2022-03-08 10:30:23 +00:00
parent 40e1c7158d
commit bdb54a2ed4

View File

@ -50,7 +50,7 @@ then
exit 1
fi
declare -r LATEST_GIT_TAG=$(git describe --tags)
declare -r LATEST_GIT_TAG=$(git describe --tags --abbrev=0)
declare -r LATEST_VERSION=${LATEST_GIT_TAG#"v"}
if ! dpkg --compare-versions "${VERSION}" "gt" "${LATEST_VERSION}"