Automation related bugfix

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
Igor Pecovnik 2020-06-18 17:26:15 +02:00
parent 9fa6069f9f
commit 273fb7dea4
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -402,6 +402,7 @@ done
# bump version in case there was a change
if [[ $n -gt 0 && -n $SEND_TO_SERVER ]]; then
cd ${SRC}
CURRENT_VERSION=$(cat VERSION)
NEW_VERSION=$(echo $CURRENT_VERSION | tr -d "\-trunk")
if [[ $CURRENT_VERSION == *trunk* ]]; then