Skip to content

Commit a80dddd

Browse files
committed
+ make release
1 parent cc588d4 commit a80dddd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,12 @@ configure:
3939
.PHONY: build doc test all install uninstall reinstall clean distclean configure
4040

4141
# OASIS_STOP
42+
43+
VERSION=$(shell oasis query version)
44+
NAME=ocaml-mariadb-$(VERSION)
45+
46+
.PHONY: release
47+
release:
48+
git tag -a -m $(VERSION) $(VERSION)
49+
git archive --prefix=$(NAME)/ $(VERSION) | gzip > $(NAME).tar.gz
50+
gpg -a -b $(NAME).tar.gz -o $(NAME).tar.gz.asc

0 commit comments

Comments
 (0)