Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit df1c4ca

Browse files
committed
Update release procedures
1 parent d88455d commit df1c4ca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BUILDDIR=.build
99
rm -rf ./$BUILDDIR/
1010
mkdir -p $BUILDDIR/
1111

12-
cp * -r $BUILDDIR/
12+
cp demos/ games/ tutorials/ library/* -r $BUILDDIR/
1313

1414
if [ -z $1 ] ; then
1515
echo "No version given... pass as parameter"
@@ -65,9 +65,11 @@ EOF
6565

6666
done < <(git ls-tree -r ${VERSION} --name-only | grep .spin$)
6767

68-
echo "DONE"
68+
cp media/ -r $BUILDDIR/
69+
70+
rm -f `find $BUILDDIR/ -name .\* -type f`
6971

70-
rm -rf ./$BUILDDIR/scripts
72+
echo "DONE"
7173

7274
mv ${BUILDDIR} ${RELEASENAME}
7375

0 commit comments

Comments
 (0)