Skip to content

Commit d4eeede

Browse files
authored
Merge branch 'master' into issue7723
2 parents 71db5b7 + f73695a commit d4eeede

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

docs/developer/release/release_build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import shutil
1111
import sys
1212
from pathlib import Path
13+
from zoneinfo import ZoneInfo
1314

1415
from release_utils import (
1516
check_repo,
@@ -164,7 +165,8 @@ def get_current_date() -> str:
164165
Returns:
165166
today's date.
166167
"""
167-
return datetime.datetime.now().date().isoformat() # noqa: DTZ005
168+
# This is a hack based on where the developers currently work.
169+
return datetime.datetime.now(tz=ZoneInfo("America/Los_Angeles")).date().isoformat()
168170

169171

170172
def build_and_locally_deploy_maven() -> None:

docs/developer/release/release_utils.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,20 +579,25 @@ def get_announcement_email(version: str) -> str:
579579
Returns:
580580
the template for the e-mail announcing a new release of the Checker Framework.
581581
"""
582-
return f"""
582+
return (
583+
f"""
583584
To: checker-framework-discuss@googlegroups.com
584585
Subject: Release {version} of the Checker Framework
585586
586587
We have released a new version of the Checker Framework.
587-
The Checker Framework lets you create and/or run pluggable type checkers, in order to detect and prevent bugs in your code.
588+
The Checker Framework lets you create and/or run pluggable type checkers, """
589+
f"""in order to detect and prevent bugs in your code.
588590
589591
You can find documentation and download links at:
590592
https://CheckerFramework.org/
591593
592594
Changes for Checker Framework version {version}:
593595
594-
<<Insert latest Checker Framework changelog entry from https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md, preserving its formatting.>>
595-
""" # noqa: E501
596+
<<Insert latest Checker Framework changelog entry from """
597+
"""https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md, """
598+
"""preserving its formatting.>>
599+
"""
600+
)
596601

597602

598603
# =========================================================================================

0 commit comments

Comments
 (0)