[Pkg-javascript-commits] [sockjs-client] 69/434: Automate even more

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 4e05668c7d6484844f66394f8ccb392e50717c27
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Thu Aug 11 15:58:41 2011 +0100

    Automate even more
---
 Makefile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Makefile b/Makefile
index 49083ae..345896a 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,17 @@ serve:
 	    sleep 0.1;					\
 	done
 
+RVER:=$(shell cat version)
 VER:=$(shell ./VERSION-GEN)
+
+.PHONY: tag upload
+tag:
+	git tag -d v$(RVER) || true
+	git commit version -m "Release $(RVER)"
+	git tag -a v$(RVER) -m "Release $(RVER)"
+	@echo ' [*] Now run'
+	@echo 'git push --all'
+
 upload: build
 	[ -e ../sockjs-client-gh-pages ] || 				\
 		git clone `git remote -v|tr "[:space:]" "\t"|cut -f 2`	\
@@ -51,4 +61,9 @@ upload: build
 	for f in sock*js; do						\
 		cp $$f ../sockjs-client-gh-pages/`echo $$f|sed 's|\(sockjs\)\(.*[.]js\)|\1-$(VER)\2|g'`; \
 	done
+	for f in sock*js; do						\
+		cp $$f ../sockjs-client-gh-pages/`echo $$f|sed 's|\(sockjs\)\(.*[.]js\)|\1-latest\2|g'`; \
+	done
 	(cd ../sockjs-client-gh-pages; node generate_index.js > index.html;)
+	@echo ' [*] Now run:'
+	@echo '(cd ../sockjs-client-gh-pages; git add sock*js; git commit -m sock*js index.html -m "Release $(VER)"; git push;)'
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list