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