]> mj.ucw.cz Git - bex.git/commitdiff
Released as 3.0
authorMartin Mares <mj@ucw.cz>
Thu, 16 Feb 2012 17:40:29 +0000 (18:40 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 16 Feb 2012 17:40:29 +0000 (18:40 +0100)
maint/release [new file with mode: 0644]

diff --git a/maint/release b/maint/release
new file mode 100644 (file)
index 0000000..1a64fa4
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+VERSION=3.0
+ARCHIVE=bex-$(VERSION).tar.gz
+
+git tag v$(VERSION)
+git push --tags
+git archive --format=tar --prefix=bex-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
+scp $(ARCHIVE) atrey:~ftp/pub/local/mj/bex/
+ssh jw "bin/sync-ftp && cd www && bin/release-prog bex $(VERSION)"
+mkdir ~/archives/mj/bex
+mv $(ARCHIVE) ~/archives/mj/bex/