Skip to content

Commit 9417bd9

Browse files
committed
target to release
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent f11e025 commit 9417bd9

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

Makefile

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,9 @@ clean:
1515
REPO=../opam-repository
1616
PACKAGES=$(REPO)/packages
1717

18-
# until we have https://github.com/ocaml/opam-publish/issues/38
19-
pkg-%:
20-
topkg opam pkg -n $*
21-
mkdir -p $(PACKAGES)/$*
22-
cp -r _build/$*.* $(PACKAGES)/$*/
23-
rm -f $(PACKAGES)/$*/$*.opam
24-
cd $(PACKAGES) && git add $*
25-
26-
PKGS=$(basename $(wildcard *.opam))
27-
opam-pkg:
28-
$(MAKE) $(PKGS:%=pkg-%)
18+
opam-release:
19+
dune-release distrib --skip-build --skip-lint --skip-tests
20+
# See https://github.com/ocamllabs/dune-release/issues/206
21+
DUNE_RELEASE_DELEGATE=github-dune-release-delegate dune-release publish distrib --verbose
22+
dune-release opam pkg
23+
dune-release opam submit

0 commit comments

Comments
 (0)