opam-version: "2.0"
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
authors: ["Daniel Bünzli" "Thomas Gazagnaire" "Nathan Rebours"]
homepage: "https://github.com/samoht/dune-release"
license: "ISC"
dev-repo: "git+https://github.com/samoht/dune-release.git"
bug-reports: "https://github.com/samoht/dune-release/issues"
doc: "https://samoht.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"
  "fmt"
  "bos"
  "cmdliner"
  "re"
  "opam-format"
  "opam-state"
  "opam-core"
  "rresult"
  "logs"
  "odoc"
  "alcotest" {with-test}
]

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/samoht/dune-release/releases/download/1.3.2/dune-release-1.3.2.tbz"
  checksum: [
    "sha256=9876ecddaa6cf13cbd07356039845ea84d4a2900f09a332ed66b8c47cd2be4c7"
    "sha512=156e95178c2a6f2ebf94fc4d425df237434f88ab0382b33e1e9f334509c962b85591014e34bed992275080cfd522454eef160d7ecd6975cb611de6a8ca6edb47"
  ]
}
