Skip to content

Commit

Permalink
Use correct comparision op in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Dec 8, 2016
1 parent 5c04629 commit 94ca91d
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 @@ -22,7 +22,7 @@ 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 94ca91d

Please sign in to comment.