From 751f32aa54e6ec9b20da6a53769ffdf1584f4db3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 2 Jul 2012 23:19:15 +0200 Subject: [PATCH 1/1] Added a simple Makefile for making releases --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5802ec1 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +VERSION=1.0 +ARCHIVE=git-tools-$(VERSION).tar.gz + +all: + +release: + git tag v$(VERSION) + git push --tags + git archive --format=tar --prefix=git-tools-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + ssh jw "cd www && bin/release-prog git-tools $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/ -- 2.39.2