From fd7af82412eb3fc772a58e7ee0a54b5be7bc082f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 19 Dec 2011 18:06:33 +0100 Subject: Update git tar changelog scripts; Add jogamp clone/do-branches scripts --- git/funcs_git.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'git/funcs_git.sh') 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 } -- cgit v1.2.3