1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-19 08:27:40 +00:00

archive.sh

This commit is contained in:
Steven Hugg
2018-12-21 15:50:54 -06:00
parent 5ba02e493a
commit 875a127d60
3 changed files with 18 additions and 7 deletions
-6
View File
@@ -15,12 +15,6 @@ check:
lint:
gjslint -r src
# https://github.com/Kentzo/git-archive-all
archive:
mkdir -p release
git-archive-all --prefix 8bitworkshop-latest/ release/8bitworkshop-latest.zip
git archive --prefix 8bitworkshop- -o release/8bitworkshop-tools.zip HEAD tools
web:
ifconfig | grep inet
+17
View File
@@ -0,0 +1,17 @@
# https://github.com/Kentzo/git-archive-all
# build archives
export VERSION=`git tag | tail -1`
export PREFIX=8bitworkshop-$VERSION
echo Creating $PREFIX
ln -fs . $PREFIX
git-archive-all --prefix $PREFIX release/$PREFIX.zip
zip -9r release/$PREFIX.zip $PREFIX/gen
git archive --prefix 8bitworkshop- -o release/8bitworkshop-tools.zip HEAD tools
# copy to remote
. ./scripts/env.sh
DESTPATH=$RSYNC_PATH/release/
rsync -rv --progress --stats -e "ssh -p 2222" release/*.zip $DESTPATH
# remove symlink
rm $PREFIX
+1 -1
Submodule tss updated: 61a1691a1d...d630ddcb29