Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
release: Be consistent about TZ-setting.
Alex Vandiverabb7a63b6248
diff --git a/tools/release b/tools/releaseindex 1dbef9b1c69..afb43058fb9 100755--- a/tools/release+++ b/tools/release@@ -57,8 +57,9 @@ fi# Check the date is correct for the releaserelease_line=$(grep -x -E -m 1 -o "### $version -- ([0-9-]+)" docs/overview/changelog.md) \|| fail "docs/overview/changelog.md does not contain a line for $version"-[ "$release_line" == "### $version -- $(TZ=America/Los_Angeles date +%F)" ] \- || fail "Date in docs/overview/changelog.md does not match $(date +%F)"+expected_date="$(TZ=America/Los_Angeles date +%F)"+[ "$release_line" == "### $version -- $expected_date" ] \+ || fail "Date in docs/overview/changelog.md does not match '$expected_date'"extract_version() {setting="$1"