Attempt to fix comparison problem with git hash added
This commit is contained in:
parent
e49636df62
commit
be739a965c
|
@ -202,7 +202,7 @@ function next_version {
|
||||||
fi
|
fi
|
||||||
if [ "$package_level" = 'dev' ] || [ "$package_level" = 'staging' ]
|
if [ "$package_level" = 'dev' ] || [ "$package_level" = 'staging' ]
|
||||||
then
|
then
|
||||||
version="${version}~${package_level}+${distance}-$(get_short_hash $commit)"
|
version="${version}~${package_level}+${distance}~$(get_short_hash $commit)"
|
||||||
fi
|
fi
|
||||||
echo $version
|
echo $version
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue