open-opam
Publish a GitHub release to the open-opam registry
A newer version is out: open-opam 0.6.0
open-opam
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.
This is the README of 0.6.0, the latest version. This version's README
No package in this registry requires it.
| Package | Constraint |
|---|---|
| dune | >= "3.18" |
| ocaml | >= "5.5" |
| cmdliner | >= "2.1.1" |
| digestif | >= "1.3.1" |
| dune-build-info | >= "3.18" |
| eio | >= "1.6" |
| eio_main | >= "1.6" |
| fmt | >= "0.9.0" |
| mtime | >= "2.0.0" |
| opam-file-format | >= "2.1.6" |
| ptime | >= "1.2.0" |
| wiretype | >= "0.7.0" & < "0.8.0" |
| ppx_wiretype | >= "0.7.0" & < "0.8.0" |
| progress | >= "0.5.0" |
| alcotest | with-test & >= "1.9.1" |
| qcheck-alcotest | with-test & >= "0.91" |
| qcheck-core | with-test & >= "0.91" |
| merlin | with-dev-setup & >= "5.6-504" |
| ocaml-lsp-server | with-dev-setup & >= "1.25.0" |
| ocamlformat | with-dev-setup & = "0.29.0" |
| odoc | with-dev-setup & >= "3.2.1" |
| odoc | with-doc |