Hi everyone,
We are happy to announce the release of opam-publish 2.7.0 (and 2.6.0), which together brought the ability to more easily publish your releases automatically, thanks to @filipeom:
-
A new
OPAM_PUBLISH_GH_TOKENenvironment variable and--tokenargument are now available to pass the GitHub token -
SSH keys aren’t used to push the branch to the user’s fork anymore. Instead the token we already require is used.
-
If undefined, the git config variables
user.nameanduser.emailare automatically filled with the github username and username@opam-publish as a backup
An example of the new automated setup can be found in this CI job.
Other minor changes include:
-
The addition of a message after the PR is open, to notify users that they can re-run opam-publish to update the PR. Thanks to @punchagan
-
The switch from
lwt_ssltotls-lwtwhich avoid one dependency and avoid depending on the system libssl
Happy publishing!
<> <> The opam team <> <> ![]()