diff --git a/.dagger/src/blumeops_ci/main.py b/.dagger/src/blumeops_ci/main.py index 851720d..2b780ac 100644 --- a/.dagger/src/blumeops_ci/main.py +++ b/.dagger/src/blumeops_ci/main.py @@ -31,6 +31,7 @@ class BlumeopsCi: return await ( dag.container() .from_("python:3.12-slim") + .with_env_variable("TZ", "America/Los_Angeles") # git is required because towncrier stages CHANGELOG.md via git add .with_exec(["apt-get", "update", "-qq"]) .with_exec(["apt-get", "install", "-y", "-qq", "git"]) diff --git a/docs/changelog.d/fix-dagger-towncrier-tz.bugfix.md b/docs/changelog.d/fix-dagger-towncrier-tz.bugfix.md new file mode 100644 index 0000000..dc18699 --- /dev/null +++ b/docs/changelog.d/fix-dagger-towncrier-tz.bugfix.md @@ -0,0 +1 @@ +Set ``TZ=America/Los_Angeles`` in the Dagger ``build_changelog`` container so towncrier stamps the correct local date instead of UTC (which showed tomorrow's date for evening releases).