mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 23:22:31 +02:00
Fix release script
This commit is contained in:
parent
40e1c7158d
commit
bdb54a2ed4
@ -50,7 +50,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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"}
|
declare -r LATEST_VERSION=${LATEST_GIT_TAG#"v"}
|
||||||
|
|
||||||
if ! dpkg --compare-versions "${VERSION}" "gt" "${LATEST_VERSION}"
|
if ! dpkg --compare-versions "${VERSION}" "gt" "${LATEST_VERSION}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user