summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-19 18:13:22 +0100
committerSven Gothel <[email protected]>2011-12-19 18:13:22 +0100
commit83a0efb6824cd99931dfd55bcf5c9771a5a3190e (patch)
tree2aa34fe0fc4d3ed3b0309ab8d209faaa2f24a166
parentfd7af82412eb3fc772a58e7ee0a54b5be7bc082f (diff)
Use 7z for source compression
-rwxr-xr-xgit/funcs_git.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/funcs_git.sh b/git/funcs_git.sh
index 10b0a35..3bfd66e 100755
--- a/git/funcs_git.sh
+++ b/git/funcs_git.sh
@@ -14,7 +14,8 @@ function git-new-milestone() {
mkdir -p ../archive/ChangeLogs
echo "Module $module - Tag $new"
- git archive --format=tar --prefix=$module-$new/ $new | xz -z -9 > ../archive/Sources/$module-$new.tar.xz
+ git archive --format=tar --prefix=$module-$new/ $new | 7z a -si ../archive/Sources/$module-$new.tar.7z
+# git archive --format=tar --prefix=$module-$new/ $new | xz -z -9 > ../archive/Sources/$module-$new.tar.xz
# git archive --format=zip --prefix=$module-$new/ $new -o ../archive/Sources/$module-$new.zip
git log --no-merges $new ^$last > ../archive/ChangeLogs/$module-ChangeLog-$new.txt
git shortlog --no-merges $new ^$last > ../archive/ChangeLogs/$module-ShortLog-$new.txt