Skip to content

Add release-plz automation#237

Merged
robjtede merged 1 commit into
mainfrom
agent/add-release-plz
Jul 21, 2026
Merged

Add release-plz automation#237
robjtede merged 1 commit into
mainfrom
agent/add-release-plz

Conversation

@robjtede

Copy link
Copy Markdown
Member

Summary

  • add release-plz automation for the five serde-utils workspace crates
  • create draft release PRs and draft GitHub releases using the repository's existing crate-specific tag convention
  • consume the shared x52-release-tools package through the default Nix devshell
  • enter that devshell in the release workflow with the pinned nicknovitski/nix-develop action
  • pass release-plz JSON through environment variables for changelog and release-note processing

Impact

Pushes to main can now create draft release PRs, publish crates after those PRs merge, and update crate changelogs and GitHub release notes using the shared x52 tooling.

The workflow installs Nix and enters the devshell only when release-plz created a pull request or release. The repository's existing crate-vX.Y.Z tags and per-crate changelogs are preserved.

External prerequisite

Before merging, configure crates.io Trusted Publishing for detrim, double-int, serde-bool, serde-decimal, and serde-secrecy with repository x52dev/serde-utils and workflow release.yml.

The repository's release label has been created for the configured release PR metadata.

Validation

  • nix develop -c just fmt
  • nix develop -c just check
  • nix develop -c just test (82 tests and 7 doctests passed; warning-denied docs passed)
  • nix flake check
  • verified x52-bump-changelogs and x52-update-release-notes are present in devShells.default

@robjtede
robjtede marked this pull request as ready for review July 21, 2026 13:26
@robjtede
robjtede merged commit bbaa9fb into main Jul 21, 2026
7 checks passed
@robjtede
robjtede deleted the agent/add-release-plz branch July 21, 2026 13:28
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