mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-21 23:30:58 +00:00
updated archive.sh script
This commit is contained in:
parent
cd10deafc2
commit
d3cac31c2f
@ -2,16 +2,13 @@
|
|||||||
# build archives
|
# build archives
|
||||||
export VERSION=`git tag | tail -1`
|
export VERSION=`git tag | tail -1`
|
||||||
export PREFIX=8bitworkshop-$VERSION
|
export PREFIX=8bitworkshop-$VERSION
|
||||||
echo Creating $PREFIX
|
echo "Run make dist first!"
|
||||||
ln -fs . $PREFIX
|
mv tmp/dist tmp/$PREFIX
|
||||||
git-archive-all --prefix $PREFIX release/$PREFIX.zip
|
cd tmp
|
||||||
zip -9r release/$PREFIX.zip $PREFIX/gen
|
zip -9rf ../release/$PREFIX.zip $PREFIX
|
||||||
#git archive --prefix 8bitworkshop- -o release/8bitworkshop-tools.zip HEAD tools
|
cd ..
|
||||||
|
|
||||||
# copy to remote
|
# copy to remote
|
||||||
. ./scripts/env.sh
|
|
||||||
DESTPATH=$RSYNC_PATH/release/
|
DESTPATH=$RSYNC_PATH/release/
|
||||||
|
echo "Copy to $DESTPATH"
|
||||||
rsync -rv --progress --stats -e "ssh" release/*.zip $DESTPATH
|
rsync -rv --progress --stats -e "ssh" release/*.zip $DESTPATH
|
||||||
|
|
||||||
# remove symlink
|
|
||||||
rm $PREFIX
|
|
||||||
|
Loading…
Reference in New Issue
Block a user