1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-14 21:10:03 +01:00
NekoX/bin/publish_release.sh

18 lines
547 B
Bash
Raw Normal View History

2020-07-08 06:00:22 +02:00
#!/usr/bin/env bash
if [ ! -x "$(command -v ghr)" ]; then
wget -O ghr.tar.gz https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz &&
tar xvzf ghr.tar.gz &&
rm ghr.tar.gz &&
sudo mv ghr*linux_amd64/ghr /usr/local/bin &&
rm -rf ghr*linux_amd64 || exit 1
fi
2020-07-30 14:11:37 +02:00
rm -rf build/release &&
mkdir -p build/release &&
find TMessagesProj/build/outputs/apk -name "*.apk" -exec cp {} build/release \; &&
2020-10-11 11:30:08 +02:00
rm -f build/release/*-debug.apk &&
2020-10-13 16:53:22 +02:00
rm -f build/release/*fullPlay*.apk &&
2020-07-30 14:11:37 +02:00
ghr -delete -n "$1" "$1" build/release