<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On 20 Jan 2014, at 17:38, Louis Gesbert <<a href="mailto:louis.gesbert@ocamlpro.com">louis.gesbert@ocamlpro.com</a>> wrote:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: monospace; font-size: 8pt;"><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">I've just been simplifying the release process.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">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 (<a href="https://github.com/ocaml/opam/releases">https://github.com/ocaml/opam/releases</a>) to be picked up by the opam-installer script.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">So if you've got an architecture for which we don't have binaries yet please run:</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">curl -OL <a href="https://raw.github.com/ocaml/opam/master/shell/release.sh">https://raw.github.com/ocaml/opam/master/shell/release.sh</a> && bash ./release.sh -t 1.1.1-RC2</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">with 1.1.1-RC2 being the release tag you want to build.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">Prerequisites: jq, ocaml 4.01.0 and write access to the repo</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">(you'll be asked your username and password (or token) for the upload).</div></div></blockquote><br></div><div>I've added a few more binaries, and should have a FreeBSD test done on Monday.</div><div><br></div><div>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).</div><div><br></div><div>-anil</div><br></body></html>