Attempt to fix comparison problem with git hash added

This commit is contained in:
Benjamin Bohard 2020-08-27 17:19:56 +02:00
parent e49636df62
commit be739a965c
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ function next_version {
fi
if [ "$package_level" = 'dev' ] || [ "$package_level" = 'staging' ]
then
version="${version}~${package_level}+${distance}-$(get_short_hash $commit)"
version="${version}~${package_level}+${distance}~$(get_short_hash $commit)"
fi
echo $version
}