From d06f88bdeed2d345e38b4aa054652d6dc43cddf0 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 22 Nov 2016 07:36:55 -0800 Subject: [PATCH] rST isn't Markdown --- HISTORY.rst | 4 ++-- dev-bin/release.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 4dccfcc..f20f63e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,9 +4,9 @@ History ------- 1.3.1 (2016-11-22) ------------------- +++++++++++++++++++ -* Fixed `setup.py` on Python 2. +* Fixed ``setup.py`` on Python 2. 1.3.0 (2016-11-22) ++++++++++++++++++ diff --git a/dev-bin/release.sh b/dev-bin/release.sh index 119f9f1..b0e635d 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -21,6 +21,7 @@ version="${BASH_REMATCH[1]}" date="${BASH_REMATCH[2]}" notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')" + if [[ "$date" -ne $(date +"%Y-%m-%d") ]]; then echo "$date is not today!" exit 1