Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 8c241b3

Browse files
committed
make better tar
1 parent 3ebfd85 commit 8c241b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

makeRelease.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ if [ -d ~/.virtualenvs/json2xml ]
4242
source ~/.virtualenvs/json2xml/bin/activate
4343
python scripts/dist2xml.py $1
4444
cd runestone
45-
tar zcf dist-$1.tgz dist
45+
tar --strip-components 1 -zcf dist-$1.tgz dist/*
46+
scp dist-$1.tgz balance.runestoneacademy.org:~/
4647
else
4748
echo "Warning: no json2xml ve found skipping pretext"
4849
fi
49-
50-

0 commit comments

Comments
 (0)