Fix for git archive from travis' shallow clone.
This commit is contained in:
parent
0c7b8a5007
commit
046c0a0f80
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ elif [ "$IMAGE" == "mingw" ]; then
|
||||||
scons windows-installer arch=x86-64 prefix=/windows/mingw64 gtkdir=/windows/mingw64 host=x86_64-w64-mingw32 || exit 1
|
scons windows-installer arch=x86-64 prefix=/windows/mingw64 gtkdir=/windows/mingw64 host=x86_64-w64-mingw32 || exit 1
|
||||||
./utils/travis/sftp "$(find . -type f -regex '.*win64.*')"
|
./utils/travis/sftp "$(find . -type f -regex '.*win64.*')"
|
||||||
echo "Creating .tar.bz2 for tag: $TRAVIS_TAG"
|
echo "Creating .tar.bz2 for tag: $TRAVIS_TAG"
|
||||||
git archive --format=tar --prefix="wesnoth-$TRAVIS_TAG/" $BRANCH > "wesnoth-$TRAVIS_TAG.tar" || exit 1
|
git archive --format=tar --prefix="wesnoth-$TRAVIS_TAG/" $TRAVIS_TAG > "wesnoth-$TRAVIS_TAG.tar" || exit 1
|
||||||
bzip2 wesnoth-$TRAVIS_TAG.tar || exit 1
|
bzip2 wesnoth-$TRAVIS_TAG.tar || exit 1
|
||||||
./utils/travis/sftp wesnoth-$TRAVIS_TAG.tar.bz2 || exit 1
|
./utils/travis/sftp wesnoth-$TRAVIS_TAG.tar.bz2 || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue