summaryrefslogtreecommitdiffstats
path: root/git/funcs_git.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-19 18:06:33 +0100
committerSven Gothel <[email protected]>2011-12-19 18:06:33 +0100
commitfd7af82412eb3fc772a58e7ee0a54b5be7bc082f (patch)
tree53a0260400772ef42f3a8b738efd5462a59d0ba2 /git/funcs_git.sh
parent2b896bb23fc3218f1d94eae93f1fb0ee6d613743 (diff)
Update git tar changelog scripts; Add jogamp clone/do-branches scripts
Diffstat (limited to 'git/funcs_git.sh')
-rwxr-xr-xgit/funcs_git.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/git/funcs_git.sh b/git/funcs_git.sh
index 86b8f2c..10b0a35 100755
--- a/git/funcs_git.sh
+++ b/git/funcs_git.sh
@@ -10,10 +10,13 @@ function git-new-milestone() {
exit 1
fi
+ mkdir -p ../archive/Sources
+ mkdir -p ../archive/ChangeLogs
+
echo "Module $module - Tag $new"
- git archive --format=tar --prefix=$module-$new/ $new | xz -z -9 > ../archive/$module-$new.tar.xz
- git archive --format=zip --prefix=$module-$new/ $new -o ../archive/$module-$new.zip
- git log --no-merges $new ^$last > ../archive/$module-ChangeLog-$new
- git shortlog --no-merges $new ^$last > ../archive/$module-ShortLog-$new
- git diff --stat --summary -M $last $new > ../archive/$module-diffstat-$new
+ 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
+ git diff --stat --summary -M $last $new > ../archive/ChangeLogs/$module-diffstat-$new.txt
}