From: Peter Zotov <whitequark@whitequark.org>
To: caml-list@inria.fr
Subject: [Caml-list] [ANN] opam-query 1.0
Date: Mon, 17 Nov 2014 21:07:18 +0300 [thread overview]
Message-ID: <44c91956990c63636009dff8bd00ba56@whitequark.org> (raw)
Hello,
I'm glad to announce the release of opam-query 1.0.
It will be available in OPAM shortly.
opam-query is a tool that allows querying the OPAM package
description files from shell scripts, similar to `oasis query`.
Most interestingly, it can be used to automate releasing
OPAM packages. For example, the following Makefile snippet
allows to release packages by merely changing the `version:'
field and running `make release'. (Right now, only GitHub URLs
are supported by --archive.)
VERSION = $(shell opam query --version)
NAME_VERSION = $(shell opam query --name-version)
ARCHIVE = $(shell opam query --archive)
release:
git tag -a v$(VERSION) -m "Version $(VERSION)."
git push origin v$(VERSION)
opam publish prepare $(NAME_VERSION) $(ARCHIVE)
opam publish submit $(NAME_VERSION)
rm -rf $(NAME_VERSION)
.PHONY: release
Please see the README[1] for complete documentation.
[1]: https://github.com/whitequark/opam-query
--
Peter Zotov
reply other threads:[~2014-11-17 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44c91956990c63636009dff8bd00ba56@whitequark.org \
--to=whitequark@whitequark.org \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox