Skip to content

Commit

Permalink
Fix release script comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Aug 30, 2019
1 parent b384390 commit 46e8338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46e8338

Please sign in to comment.