stagit

README: add example to create tar.gz archives by tag

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 3e4d3b2 parent: 92b6757
1 files changed, 11 insertions(+), 0 deletions(-)
MREADME+11-0
M · README +11, -0
 1@@ -78,6 +78,17 @@ Script:
 2 	}'
 3 
 4 
 5+Create .tar.gz archives by tag
 6+------------------------------
 7+	#!/bin/sh
 8+	name="stagit"
 9+	mkdir -p archives
10+	git tag -l | while read -r t; do
11+		f="archives/$name-$t.tar.gz"
12+		test -f "$f" || git archive --format tar.gz "$t" -o "$f"
13+	done
14+
15+
16 Features
17 --------
18