Stackedit/tools/increment_version
2013-08-08 22:53:15 +01:00

5 lines
135 B
Bash
Executable File

#!/bin/sh
version_minor=`sed 's/.*-\([0-9]*\)/\1/' version`
((version_minor++))
sed -i '' "s/\(.*-\)[0-9]*/\1$version_minor/" version