Skip to content

docs: add RELEASING.md documenting the release process #2243

Closed

Description

@TerryHowe

The ORAS CLI is released with scripts/release.sh (added in #1992). The script runs the release in four phases:

scripts/release.sh prep <version>         # bump version.go, open the bump PR, print the Slack vote message
scripts/release.sh tag <version> <sha>    # create and push the signed tag (triggers release-github and release-ghcr)
scripts/release.sh validate <version>     # wait for CI, verify checksums and `oras version` output
scripts/release.sh publish <version>      # finalize release notes, un-draft the release, trigger release-snap

The only written release process is the website's community/release-process page, which is out of date. It predates the script and describes manual steps, such as signing artifacts with gpg and uploading the .asc files by hand, that the script and CI now handle. GoReleaser signs all artifacts with the project release key (the signs: block in .goreleaser.yml).

Proposal

Add a RELEASING.md to the root of this repository that documents the release process built around scripts/release.sh, so the docs live next to the tooling and can be updated in the same PR. oras-go already does this with its RELEASES.md, which is being renamed to RELEASING.md (oras-project/oras-go#1604).

It should cover:

  • Prerequisites (gh auth, a GPG signing key on GitHub and in KEYS, and an optional Go version bump)
  • Each scripts/release.sh phase, including the --dry-run flag and the ORAS_MAIN_RELEASE_VERSION override
  • The maintainer vote and merge requirements for the bump PR
  • Which branch to release from for minor and patch releases
  • What the tag and publish phases trigger (release-github, release-ghcr, release-snap)
  • Checking that the published release is bound to the real vX.Y.Z tag and not GoReleaser's untagged-<hash> draft placeholder
  • Manual post-release steps (oras-www docs, Slack announcement, publishing any security advisories after the release ships)

Once this lands, the website page can link here instead of duplicating the content (oras-project/oras-www#634).

Activity

  1. changed the title [-]docs: add RELEASES.md documenting the release process[/-] [+]docs: add RELEASING.md documenting the release process[/+] on Oct 17, 2026
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