This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new d854f0e Fix a bug when moving files after a failed vote
d854f0e is described below
commit d854f0eca2611a581bd1d18f5f579855042c3331
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Apr 24 17:30:28 2025 +0100
Fix a bug when moving files after a failed vote
---
atr/routes/candidate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atr/routes/candidate.py b/atr/routes/candidate.py
index e74ff9c..6267b99 100644
--- a/atr/routes/candidate.py
+++ b/atr/routes/candidate.py
@@ -283,7 +283,7 @@ async def _resolve_post_files(
# TODO: Obtain a lock for this
if vote_result != "passed":
# The vote failed, so move the release candidate to the release draft
directory
- async with revision.create_and_manage(project_name, release.version,
asf_uid) as (
+ async with revision.create_and_manage(project_name, release.version,
asf_uid, create_directory=False) as (
new_revision_dir,
_new_revision_name,
):
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]