Skip to content

Fix bug in release-set-latest-release where main is not restored when update is already made#1042

Merged
zanieb merged 1 commit intomainfrom
zb/switch-fix
Mar 24, 2026
Merged

Fix bug in release-set-latest-release where main is not restored when update is already made#1042
zanieb merged 1 commit intomainfrom
zb/switch-fix

Conversation

@zanieb
Copy link
Copy Markdown
Member

@zanieb zanieb commented Mar 24, 2026

This caused the following failure when retrying an interrupted release

Run just release-upload-mirror \
error: No justfile found
Error: Process completed with exit code 1.

https://github.com/astral-sh/python-build-standalone/actions/runs/23459592334/job/68261628113

The logs are incriminating

+ git switch latest-release
Switched to a new branch 'latest-release'
branch 'latest-release' set up to track 'origin/latest-release'.
+ git reset --hard origin/latest-release
HEAD is now at 50d925d5 set latest release to 20260324
+ cat
+ git diff --quiet
+ echo 'No changes to commit.'
No changes to commit.

We failed to return to the main branch

@zanieb zanieb added the ci:skip label Mar 24, 2026
@zanieb zanieb marked this pull request as ready for review March 24, 2026 21:12
@zanieb zanieb merged commit d0b47bd into main Mar 24, 2026
11 checks passed
@zanieb zanieb deleted the zb/switch-fix branch March 24, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant