diff --git a/build-utils/dist.sh b/build-utils/dist.sh index 8fdf3c8d5..078cada4a 100755 --- a/build-utils/dist.sh +++ b/build-utils/dist.sh @@ -9,7 +9,7 @@ if [ -z "$1" ]; then exit 64 fi -GIT_TAG="$1" +GIT_TAG="${1%-dirty}" SVERSION=$(echo "$GIT_TAG" | sed 's/^v//') date=$(git log -1 --format=%cI "$GIT_TAG")