aboutsummaryrefslogtreecommitdiff
path: root/check_version
diff options
context:
space:
mode:
Diffstat (limited to 'check_version')
-rw-r--r--check_version8
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