mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #148] [MERGED] [release] Wizard polish: branch switching, tomllib, run link #152
Labels
No labels
api-drift
bug
ci
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Glitchy-Sheep/boosty-downloader#152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/148
Author: @Glitchy-Sheep
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:chore/release-wizard-polish📝 Commits (4)
e54751dfeat: Offer switching to main when the release starts elsewheredab1cfcrefactor: Read the project version with tomllib13f570bfeat: Link straight to the running release workflow after tagging1a03b74docs: Sync the releasing guide with the wizard behavior📊 Changes
2 files changed (+75 additions, -10 deletions)
View changed files
📝
docs/development/04-releasing.md(+2 -3)📝
scripts/release.py(+73 -7)📄 Description
Summary
Three quality-of-life fixes for the release wizard. It now offers to switch to
maininstead of refusing when started elsewhere, reads the project version withtomllibinstead of a regex, and after pushing the tag prints the direct link to the workflow run it has just started.Problem
release:tag) ended with a hard error and a manualgit checkout mainpyproject.tomlwith a regex - fragile against any formatting or layout changeFix
Switch to main? [y/N]and switch themselves; the offer appears only on a clean tree (-uno, same policy as the tree check), so tracked edits never travel between branches - declining keeps the old refusal_current_versionparses the file withtomllib; writing stays regex-based on purpose - stdlib cannot write TOML preserving formattinggit push origin vX.Y.Zthe wizard pollsgh run listbriefly (the run spawns a few seconds after the push), matches it byheadBranch == vX.Y.Zand prints the exact run URL; the run page shows the whole three-job pipeline live - on timeout or any gh hiccup it falls back to the old runs-list linkdocs/development/04-releasing.mdsynced: the manualgit checkout mainstep is goneVerification
tomlliband the old regex return the same version on the livepyproject.tomlv3.4.0run (the exact URL) in 1 second; a nonexistent tag falls back to the runs list after the poll windowtask checkgreen (ruff, format, pyright), 107 unit tests pass;test:apiis flaky against the live Boosty network today and is unrelated - this PR touches onlyscripts/and docs🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.