Skip to content

Auto-sync README install examples with each release's version - #29

Merged
oskaresparza merged 1 commit into
developmentfrom
debug_library
Aug 13, 2026
Merged

Auto-sync README install examples with each release's version#29
oskaresparza merged 1 commit into
developmentfrom
debug_library

Conversation

@oskaresparza

Copy link
Copy Markdown
Collaborator

release.yml: add a step that rewrites this branch's own pip/%pip install ...@vX.Y.Z[-staging] example lines in README.md to the version just resolved, then commits (with [skip ci]) and pushes if anything changed. main's run only touches the plain @vX.Y.Z lines (matched by the trailing quote), staging's only the -staging-suffixed ones, so a run on one branch can never clobber the other's line — verified with a local sed dry run against the real file before writing this.

README: drop the two spots that hardcoded both branches' versions together (JupyterLab intro line, wheel-filename example) so there's nothing left for a human to keep in sync by hand; document the auto-sync behavior under "Releasing a new version".

release.yml: add a step that rewrites this branch's own
pip/%pip install ...@vX.Y.Z[-staging] example lines in README.md to
the version just resolved, then commits (with [skip ci]) and pushes
if anything changed. main's run only touches the plain @vX.Y.Z lines
(matched by the trailing quote), staging's only the -staging-suffixed
ones, so a run on one branch can never clobber the other's line —
verified with a local sed dry run against the real file before
writing this.

README: drop the two spots that hardcoded both branches' versions
together (JupyterLab intro line, wheel-filename example) so there's
nothing left for a human to keep in sync by hand; document the
auto-sync behavior under "Releasing a new version".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@oskaresparza
oskaresparza merged commit dfd008c into development Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant