Skip to content

Commit

Permalink
ocaml-batteries: Use github.livecheck.regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Sep 26, 2019
1 parent 2535cb2 commit b64ecdd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ocaml/ocaml-batteries/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ platforms darwin

github.tarball_from archive

livecheck.url ${github.homepage}/releases
livecheck.regex "releases/download/${github.tag_prefix}(\[^/]+)/"

checksums rmd160 093ec63f5e41c11da5df80ce121aa4145d330611 \
sha256 9cb4bd3bf3872509af43a9c61f741884503551f25b22cb9e2c73c55cee6c9861 \
size 785599
Expand All @@ -35,3 +32,5 @@ build.type gnu
post-patch {
reinplace "s|\"\$make\"|\"${build.cmd}\"|g" setup.ml
}

github.livecheck.regex {([0-9.]+)}

0 comments on commit b64ecdd

Please sign in to comment.