diff options
author | Sven Gothel <[email protected]> | 2011-12-19 18:06:33 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-12-19 18:06:33 +0100 |
commit | fd7af82412eb3fc772a58e7ee0a54b5be7bc082f (patch) | |
tree | 53a0260400772ef42f3a8b738efd5462a59d0ba2 /git/funcs_git.sh | |
parent | 2b896bb23fc3218f1d94eae93f1fb0ee6d613743 (diff) |
Update git tar changelog scripts; Add jogamp clone/do-branches scripts
Diffstat (limited to 'git/funcs_git.sh')
-rwxr-xr-x | git/funcs_git.sh | 13 |
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 } |