Skip to content

Commit 94ca91d

Browse files
committed
Use correct comparision op in release script
1 parent 5c04629 commit 94ca91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ date="${BASH_REMATCH[2]}"
2222
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')"
2323

2424

25-
if [[ "$date" -ne $(date +"%Y-%m-%d") ]]; then
25+
if [[ "$date" != "$(date +"%Y-%m-%d")" ]]; then
2626
echo "$date is not today!"
2727
exit 1
2828
fi

0 commit comments

Comments
 (0)