[opam-devel] New release scripts

Anil Madhavapeddy anil at recoil.org
Sun Jan 26 09:58:48 GMT 2014


On 20 Jan 2014, at 17:38, Louis Gesbert <louis.gesbert at ocamlpro.com> wrote:

> I've just been simplifying the release process.
>  
> There is now a single `shell/release.sh` script that can pack up a source tarball, build binaries on your architecture and upload everything on the github release page (https://github.com/ocaml/opam/releases) to be picked up by the opam-installer script.
>  
> So if you've got an architecture for which we don't have binaries yet please run:
>  
> curl -OL https://raw.github.com/ocaml/opam/master/shell/release.sh && bash ./release.sh -t 1.1.1-RC2
>  
> with 1.1.1-RC2 being the release tag you want to build.
>  
> Prerequisites: jq, ocaml 4.01.0 and write access to the repo
> (you'll be asked your username and password (or token) for the upload).

I've added a few more binaries, and should have a FreeBSD test done on Monday.

Incidentally, ocaml-github has a 'git-jar' facility to store secrets in, so you could also use that for a release script to avoid the jq dependency (and also test the local OPAM binary that just got built by using it to install the required libraries).

-anil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20140126/a2c65004/attachment.html>


More information about the opam-devel mailing list