opam-version: "2.0"
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
authors: ["Daniel Bünzli" "Thomas Gazagnaire" "Nathan Rebours"]
homepage: "https://github.com/ocamllabs/dune-release"
license: "ISC"
dev-repo: "git+https://github.com/ocamllabs/dune-release.git"
bug-reports: "https://github.com/ocamllabs/dune-release/issues"
doc: "https://ocamllabs.github.io/dune-release/"

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml" {>= "4.06.0"}
  "dune" {>= "2.4.0"}
  "curly"
  "fmt"
  "bos"
  "cmdliner"
  "re"
  "opam-format" {< "2.1"}
  "opam-state" {< "2.1"}
  "opam-core" {< "2.1"}
  "rresult"
  "logs"
  "odoc"
  "alcotest" {with-test}
  "mdx" {with-test & >= "1.6.0"}
  "yojson"
]
synopsis: "Release dune packages in opam"
description: """
`dune-release` is a tool to streamline the release of Dune packages in
[opam](https://opam.ocaml.org). It supports projects built
with [Dune](https://github.com/ocaml/dune) and hosted on
[GitHub](https://github.com).
"""
url {
  src:
    "https://github.com/ocamllabs/dune-release/releases/download/1.4.0/dune-release-1.4.0.tbz"
  checksum: [
    "sha256=96061b82b882119eb0b9faf4fe1ae76d427db9d62c52260d06a3669dc3b631bb"
    "sha512=81516b6bbd7e793190e52f5d371c5d94aeca67d1a85d4c8d247f2aa3d881f0bcad50e89e01179c6e641a1e7e9fb3084043e71160dc8e36944073e5f93205e3ed"
  ]
}
