From 46e8338c71f88537e35333ea043a0d722de2d13a Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 30 Aug 2019 14:15:48 -0700 Subject: [PATCH] Fix release script comparison --- dev-bin/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-bin/release.sh b/dev-bin/release.sh index 821cda93..b495b029 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -25,7 +25,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 +if [[ "$date" != $(date +"%Y-%m-%d") ]]; then echo "$date is not today!" exit 1 fi