diff options
Diffstat (limited to 'check_version')
-rw-r--r-- | check_version | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/check_version b/check_version index e42a865..6d7f25c 100644 --- a/check_version +++ b/check_version @@ -18,4 +18,12 @@ if [ "$VER" != "$1" ]; then X=1 fi +VER="$( sed -n '/^\.\. |version| replace:: /s,.* ,,p' cuerecover.rst )" +if [ "$VER" != "$1" ]; then + echo + echo "*** You forgot to update the version in cuerecover.rst" + echo + X=1 +fi + exit $X |