Skip to content

Commit af5a678

Browse files
committed
Fix comparison in release script
1 parent 0713eb5 commit af5a678

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
@@ -21,7 +21,7 @@ version="${BASH_REMATCH[1]}"
2121
date="${BASH_REMATCH[2]}"
2222
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')"
2323

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

0 commit comments

Comments
 (0)