diff --git a/publish.sh b/publish.sh index 9d439bc..8ea56d2 100755 --- a/publish.sh +++ b/publish.sh @@ -17,8 +17,9 @@ if [ ! -f version.h ]; then exit 1 else v=$(cat version.h | grep -o 'static const char \*VERSION = "[0-9.]*";' | cut -d'"' -f2) - v=$((v+1)) - echo "Incrementing version from $v to $v" >&2 + oldv=$v + v=$((v+1)) + echo "Incrementing version from $oldv to $v" >&2 echo "static const char *VERSION = \"$v\";" > version.h fi TAG="v$v" diff --git a/version.h b/version.h index e72b3ca..c5cdaff 100644 --- a/version.h +++ b/version.h @@ -1 +1 @@ -static const char *VERSION = "34"; +static const char *VERSION = "35";