Skip to content

ci: Automate updating README when releasing - #257

Draft
anelson wants to merge 1 commit into
masterfrom
ci/automate-readme-updates-on-release
Draft

ci: Automate updating README when releasing#257
anelson wants to merge 1 commit into
masterfrom
ci/automate-readme-updates-on-release

Conversation

@anelson

@anelson anelson commented Aug 19, 2026

Copy link
Copy Markdown
Owner

I noticed that the README referred to old releases, because there's no automated mechanism to update it when we make a new release. This is an attempt to incorporate that automation as part of the existing release-plz workflow that updates the changelog and Cargo.toml version numbers.

I haven't tested it yet; it needs to be committed and run in GHA in order to see if it works.

  • Added release.toml using cargo-release to synchronize exactly one README installer-version reference with the cgx package version.
  • Pinned cargo-release 1.1.3 in CI.
  • Added README version validation to regular and release-plz PR checks.
  • Updated release-plz PR generation to amend and safely force-push README updates.
  • Updated the installer example from v0.0.10 to v0.1.0.
  • Verified with just precommit, just xwin-check, and just xmac-check.

Closes #181

I noticed that the README referred to old releases, because there's no
automated mechanism to update it when we make a new release.  This is an
attempt to incorporate that automation as part of the existing
release-plz workflow that updates the changelog and Cargo.toml version numbers.

I haven't tested it yet; it needs to be committed and run in GHA in
order to see if it works.

- Added release.toml using cargo-release to synchronize exactly one
  README installer-version reference with the cgx package version.
- Pinned cargo-release 1.1.3 in CI.
- Added README version validation to regular and release-plz PR checks.
- Updated release-plz PR generation to amend and safely force-push
  README updates.
- Updated the installer example from v0.0.10 to v0.1.0.
- Verified with just precommit, just xwin-check, and just xmac-check.
@anelson
anelson force-pushed the ci/automate-readme-updates-on-release branch from ebcdb9c to 9cc0daa Compare August 21, 2026 10:59
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.

Improve automated release tooling to update version in docs

1 participant