From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E3EF17FADE for ; Mon, 17 Nov 2014 19:07:20 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of whitequark@whitequark.org) identity=pra; client-ip=176.58.103.125; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of whitequark@whitequark.org designates 176.58.103.125 as permitted sender) identity=mailfrom; client-ip=176.58.103.125; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail.whitequark.org) identity=helo; client-ip=176.58.103.125; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="postmaster@mail.whitequark.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMKACQ4alSwOmd9/2dsb2JhbABbg2ODD4Z/rykGkzyIfwEBAQEBfYRBAlN5TIg9Cax7pgcEhj6EHoZjhDUFjAuLF4heg1SRcoFTgiw6gnsBAQE X-IPAS-Result: AiMKACQ4alSwOmd9/2dsb2JhbABbg2ODD4Z/rykGkzyIfwEBAQEBfYRBAlN5TIg9Cax7pgcEhj6EHoZjhDUFjAuLF4heg1SRcoFTgiw6gnsBAQE X-IronPort-AV: E=Sophos;i="5.07,404,1413237600"; d="scan'208";a="107704397" Received: from fehu.whitequark.org (HELO mail.whitequark.org) ([176.58.103.125]) by mail2-smtp-roc.national.inria.fr with ESMTP; 17 Nov 2014 19:07:20 +0100 Received: by mail.whitequark.org (Postfix, from userid 33) id 80A2110BFDF; Mon, 17 Nov 2014 18:07:18 +0000 (UTC) To: caml-list@inria.fr X-PHP-Originating-Script: 1000:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 17 Nov 2014 21:07:18 +0300 From: Peter Zotov Message-ID: <44c91956990c63636009dff8bd00ba56@whitequark.org> X-Sender: whitequark@whitequark.org User-Agent: Roundcube Webmail/1.1-beta Subject: [Caml-list] [ANN] opam-query 1.0 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