diff options
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 } |