mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-15 14:07:16 +00:00
12 lines
271 B
Bash
12 lines
271 B
Bash
|
# https://github.com/Kentzo/git-archive-all
|
||
|
# build archives
|
||
|
export VERSION=`git tag | tail -1`
|
||
|
export OUTDIR=dist
|
||
|
echo Creating $OUTDIR
|
||
|
git-archive-all --prefix . release/$OUTDIR.zip
|
||
|
zip -9r release/$OUTDIR.zip gen
|
||
|
mkdir $OUTDIR
|
||
|
cd $OUTDIR
|
||
|
unzip ../release/$OUTDIR.zip
|
||
|
|