Skip to content

Release payjoin-ffi-1.0.0-rc.0 #1978

Closed as not planned
Closed as not planned

Description

@benalleng

Release CRATE MAJOR.MINOR+1.0

Release-managed crates are payjoin, payjoin-cli and payjoin-mailroom. Versions follow
Semantic Versioning. Tags are <crate>-<version>. The changelog for this release is the
## Unreleased section of CRATE/CHANGELOG.md; it was written by the pull requests that
landed since the last release, so there is nothing to compile here.

Summary

Checklist

Bump

  • Branch bump-CRATE-MAJOR-MINOR+1 from master.
  • Run contrib/release/bump.sh CRATE MAJOR.MINOR+1.0. It sets the version, rewrites
    every workspace member's requirement on the crate, renames ## Unreleased to
    ## MAJOR.MINOR+1.0 with a fresh empty ## Unreleased above it, regenerates both
    lock files and runs check-invariants. It needs jq, and the lock file step calls
    cargo +nightly, so run it where rustup has a nightly toolchain. nix develop .#release
    has jq but no rustup; there, pass --no-lock, then run contrib/update-lock-files.sh
    from a rustup shell and contrib/release/check-invariants.sh CRATE again.
  • Read the new changelog section once; fix wording, do not add history.
  • One commit, "Bump CRATE version to MAJOR.MINOR+1.0". Open the PR against master.
    The Check release version bump job runs check-invariants, a publish dry run and,
    for payjoin, cargo-semver-checks.
  • Merge.

If a fix must land before the tag, merge it to master as usual; it carries its own
changelog line. The bump PR is not edited for it.

Tag and publish

  • Check out the merged master commit. Run
    nix develop .#release -c contrib/release/tag.sh CRATE. It checks the tree is clean
    and on payjoin/rust-payjoin's master (fetched by URL, so any remote layout works),
    runs check-invariants, and creates the signed tag CRATE-MAJOR.MINOR+1.0 with a key
    from contrib/release/keys/.
  • Push the tag with the command the script prints.
  • Approve the release environment when the workflow asks. Publication, the GitHub
    release and the crates.io/docs.rs verification run from there.

After a payjoin release

  • Prepare the bindings bump with contrib/release/bump.sh payjoin-ffi X.Y.Z,
    which also sets the language package manifests, their lock files and
    changelogs, and follow the
    bindings release instructions. Dart's
    published native source is pinned automatically to the release checkout.
    Once merged, create one signed tag with
    nix develop .#release -c contrib/release/tag.sh payjoin-ffi, then push it.
  • Bump dependent release crates (payjoin-cli, payjoin-mailroom) on their own
    schedule, each with this checklist. Their tags verify that payjoin is already on
    crates.io.

Announce

  • Discord, Twitter, Nostr, stacker.news, using the Summary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions