[devscripts/release.sh] Add ChangeLog reminder prompt
authorSergey M․ <dstftw@gmail.com>
Sun, 11 Sep 2016 16:29:25 +0000 (23:29 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 11 Sep 2016 16:29:25 +0000 (23:29 +0700)
devscripts/release.sh

index ca6ae1b491215b0bcff9a6b5398f5e6de127a0d7..981d37ca7e0ef8e6ca8567f23b8111d89ddc5e96 100755 (executable)
@@ -60,6 +60,9 @@ if ! type pandoc >/dev/null 2>/dev/null; then echo 'ERROR: pandoc is missing'; e
 if ! python3 -c 'import rsa' 2>/dev/null; then echo 'ERROR: python3-rsa is missing'; exit 1; fi
 if ! python3 -c 'import wheel' 2>/dev/null; then echo 'ERROR: wheel is missing'; exit 1; fi
 
+read -p "Is ChangeLog up to date? (y/n) " -n 1
+if [[ ! $REPLY =~ ^[Yy]$ ]]; then exit 1;
+
 /bin/echo -e "\n### First of all, testing..."
 make clean
 if $skip_tests ; then