We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e1e69 commit 0ae6febCopy full SHA for 0ae6feb
dev-bin/release.sh
@@ -21,7 +21,7 @@ version="${BASH_REMATCH[1]}"
21
date="${BASH_REMATCH[2]}"
22
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')"
23
24
-if [[ "$date" -ne $(date +"%Y-%m-%d") ]]; then
+if [[ "$date" != "$(date +"%Y-%m-%d")" ]]; then
25
echo "$date is not today!"
26
exit 1
27
fi
0 commit comments