use a sub-directory in the zip archive
This commit is contained in:
parent
150333ef7c
commit
6e56f634c3
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
today=`date --iso-8601`
|
today=`date --iso-8601`
|
||||||
git archive --format zip master > paradisEO-${today}.zip
|
name=paradiseo_$today
|
||||||
|
git archive --prefix=$name/ --format zip master > $name.zip
|
||||||
|
echo $name.zip
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue