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