Hello,
I’ve tried to use opam-publish to publish a new version of my rfsm package. The used version in 2.2.0. I get the following error message
$ opam-publish
The following will be published:
- rfsm version 2.2 with opam file at /Users/jserot/Dev/ml/rfsm/rfsm.opam
archive at https://github.com/jserot/rfsm/archive/refs/tags/2.2.tar.gz
You will be shown the patch before submitting.
Please confirm the above data. Continue ? [Y/n] Y
Cloning the package repository, this may take a while...
+ /usr/local/bin/git "clone" "git@github.com:ocaml/opam-repository.git" "/Users/jserot/.opam/plugins/opam-publish/repos/ocaml%opam-repository"
- Cloning into '/Users/jserot/.opam/plugins/opam-publish/repos/ocaml%opam-repository'...
- git@github.com: Permission denied (publickey).
- fatal: Could not read from remote repository.
-
- Please make sure you have the correct access rights
- and the repository exists.
[ERROR] Uncaught exception: "/usr/local/bin/git clone git@github.com:ocaml/opam-repository.git
/Users/jserot/.opam/plugins/opam-publish/repos/ocaml%opam-repository" exited with code 128
IIUC, opam-publish tries to clone the opam repo on GH into my local .opam directory and fails because i do not have the required auths. Is this repo not public ?
Jocelyn