aboutsummaryrefslogtreecommitdiff
path: root/check_version
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-11 21:43:44 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-11 21:43:44 -0400
commit38a9d0ec489925eb25b8a0c837b5230da4eb8a68 (patch)
tree8ad6118bf451b1fc85c8d367bb7babe828c22273 /check_version
parent0b19a8ae810169cbdfd15ba79b3e7165e40cf535 (diff)
downloadmiragextract-38a9d0ec489925eb25b8a0c837b5230da4eb8a68.tar.gz
add cuerecover
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