[Telepathy-commits] [telepathy-spec/master] maintainer-upload-snapshot: talk about git rather than darcs, and include the git commit hash

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Sep 8 09:56:25 PDT 2008


---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 6cdd67f..2d89316 100644
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,7 @@ clean:
 maintainer-upload-snapshot: doc/spec.html
 	@install -d tmp
 	cp doc/spec.html tmp/spec.html
-	sed -i~ -e 's,\(<h2>Version [0-9][0-9.]*\)\(</h2>\),\1 (darcs snapshot '`date +%Y%m%d`')\2,' \
+	sed -i~ -e 's,\(<h2>Version [0-9][0-9.]*\)\(</h2>\),\1 (git commit '`git rev-list -n 1 --abbrev-commit --abbrev=8 HEAD`', '`date +%Y-%m-%d`')\2,' \
 		tmp/spec.html
 	scp tmp/spec.html \
 		telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/spec-snapshot.html
-- 
1.5.6.3




More information about the Telepathy-commits mailing list