forked from cory/tildefriends
Cory McWilliams
d3029639de
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4371 ed5197a5-7fde-0310-b194-c3ffbd925b24
26 lines
981 B
Bash
Executable File
26 lines
981 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
VERSION_NUMBER=`sed -n -e 's/^VERSION_NUMBER := //p' Makefile`
|
|
VERSION_NAME=`sed -n -e 's/^VERSION_NAME := //p' Makefile`
|
|
rm -rfv tildefriends-$VERSION_NUMBER
|
|
svn export . tildefriends-$VERSION_NUMBER
|
|
echo "tildefriends-$VERSION_NUMBER: $VERSION_NAME" > tildefriends-$VERSION_NUMBER/VERSION
|
|
tar \
|
|
--exclude=deps/libbacktrace/Isaac.Newton-Opticks.txt \
|
|
--exclude=deps/libsodium/builds/msvc/vs* \
|
|
--exclude=deps/libsodium/builds/msvc/build \
|
|
--exclude=deps/libsodium/builds/msvc/properties \
|
|
--exclude=deps/libsodium/configure \
|
|
--exclude=deps/libsodium/test \
|
|
--exclude=deps/libuv/docs \
|
|
--exclude=deps/libuv/test \
|
|
--exclude=deps/openssl \
|
|
--exclude=deps/speedscope/*.map \
|
|
--exclude=deps/sqlite/shell.c \
|
|
--exclude=deps/zlib/contrib/vstudio \
|
|
--exclude=deps/zlib/doc \
|
|
-caf tildefriends-$VERSION_NUMBER.tar.xz tildefriends-$VERSION_NUMBER
|
|
rm -rfv tildefriends-$VERSION_NUMBER
|
|
make apk
|
|
cp out/TildeFriends-release.apk TildeFriends-$VERSION_NUMBER.apk
|