2023-06-28 23:28:59 +00:00
|
|
|
#!/bin/bash -e
|
2021-01-03 20:10:29 +00:00
|
|
|
|
2023-06-28 23:00:34 +00:00
|
|
|
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
|
2022-11-16 03:23:23 +00:00
|
|
|
tar \
|
2023-03-16 00:23:40 +00:00
|
|
|
--exclude=deps/libbacktrace/Isaac.Newton-Opticks.txt \
|
2022-11-16 03:23:23 +00:00
|
|
|
--exclude=deps/libsodium/builds \
|
|
|
|
--exclude=deps/libsodium/configure \
|
|
|
|
--exclude=deps/libsodium/test \
|
2023-03-16 00:23:40 +00:00
|
|
|
--exclude=deps/libuv/docs \
|
2022-11-16 03:23:23 +00:00
|
|
|
--exclude=deps/libuv/test \
|
2022-12-30 14:32:19 +00:00
|
|
|
--exclude=deps/openssl \
|
2023-03-16 00:23:40 +00:00
|
|
|
--exclude=deps/speedscope/*.map \
|
|
|
|
--exclude=deps/sqlite/shell.c \
|
|
|
|
--exclude=deps/zlib/contrib/vstudio \
|
|
|
|
--exclude=deps/zlib/doc \
|
2023-06-28 23:00:34 +00:00
|
|
|
-caf tildefriends-$VERSION_NUMBER.tar.xz tildefriends-$VERSION_NUMBER
|
|
|
|
rm -rfv tildefriends-$VERSION_NUMBER
|
2023-06-28 23:28:59 +00:00
|
|
|
make apk
|
|
|
|
cp out/TildeFriends-release.apk TildeFriends-$VERSION_NUMBER.apk
|