Introduction
Introduction Statistics Contact Development Disclaimer Help
tREADME: add example to create tar.gz archives by tag - stagit - static git pag…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit daf5185a576a9153394d4071abe26e4671cba045
parent 2e967c5baebafe41620da3979d02cba291745127
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 5 Jul 2017 20:25:54 +0200
README: add example to create tar.gz archives by tag
Diffstat:
M README | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/README b/README
t@@ -78,6 +78,17 @@ Script:
}'
+Create .tar.gz archives by tag
+------------------------------
+ #!/bin/sh
+ name="stagit"
+ mkdir -p archives
+ git tag -l | while read -r t; do
+ f="archives/$name-$t.tar.gz"
+ test -f "$f" || git archive --format tar.gz "$t" -o "$f"
+ done
+
+
Features
--------
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.