From 775eb5f5495433f818b712164728b5615d410794 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 29 Apr 2017 17:09:27 +0200 Subject: [PATCH] Update makeversion --- makerelease | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makerelease b/makerelease index 7b63a5b..148e1bf 100755 --- a/makerelease +++ b/makerelease @@ -35,9 +35,9 @@ version=$1 sed -i "/string version = /c\\\tstring version = \"$version\";" src/helpers/help.cpp IFS='.' read -ra VPART <<< "$version" -sed -i "/MAJOR=/cMAJOR=\"${VPART[0]}\"" makefile -sed -i "/MINOR=/cMINOR=\"${VPART[1]}\"" makefile -sed -i "/MICRO=/cMICRO=\"${VPART[2]}\"" makefile +sed -i "/MAJOR=/cMAJOR=${VPART[0]}" makefile +sed -i "/MINOR=/cMINOR=${VPART[1]}" makefile +sed -i "/MICRO=/cMICRO=${VPART[2]}" makefile git commit -m "Version $version" makefile src/* git push