open-opam

Publish a GitHub release to the open-opam registry

open-opam

ci release license OCaml 5.5+

The CLI to publish and manage your packages on open-opam.

Install

opam repo add open-opam https://github.com/open-opam/opam-repository.git
opam install open-opam

Requires GitHub CLI.

Commands

Command Arguments Purpose
init [--yes] Set your repository up, once
check [VERSION] See if this commit would pass, before you release
release VERSION [--attach FILE] Tag this commit and make its GitHub release
publish VERSION [--dry-run] Publish the release to open-opam
status Show what open-opam holds of your packages
revoke VERSION [--undo] Take a published version back, or restore it

open-opam COMMAND --help for more.

Example

cd my-library
open-opam init
open-opam release 1.0.0
open-opam publish 1.0.0

Licence

MIT, copyright open-opam contributors. See LICENSE.