summaryrefslogtreecommitdiffstats
path: root/git/funcs_git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git/funcs_git.sh')
-rwxr-xr-xgit/funcs_git.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/git/funcs_git.sh b/git/funcs_git.sh
index 3bfd66e..d7160a6 100755
--- a/git/funcs_git.sh
+++ b/git/funcs_git.sh
@@ -10,14 +10,14 @@ function git-new-milestone() {
exit 1
fi
- mkdir -p ../archive/Sources
- mkdir -p ../archive/ChangeLogs
+ mkdir -p ../archive/$new/Sources
+ mkdir -p ../archive/$new/ChangeLogs
echo "Module $module - Tag $new"
- 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
- git diff --stat --summary -M $last $new > ../archive/ChangeLogs/$module-diffstat-$new.txt
+ git archive --format=tar --prefix=$module-$new/ $new | 7z a -si ../archive/$new/Sources/$module-$new.tar.7z
+# git archive --format=tar --prefix=$module-$new/ $new | xz -z -9 > ../archive/$new/Sources/$module-$new.tar.xz
+# git archive --format=zip --prefix=$module-$new/ $new -o ../archive/$new/Sources/$module-$new.zip
+ git log --no-merges $new ^$last > ../archive/$new/ChangeLogs/$module-ChangeLog-$new.txt
+ git shortlog --no-merges $new ^$last > ../archive/$new/ChangeLogs/$module-ShortLog-$new.txt
+ git diff --stat --summary -M $last $new > ../archive/$new/ChangeLogs/$module-diffstat-$new.txt
}