2020-07-08 04:00:22 +00: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 12:11:37 +00:00
|
|
|
rm -rf build/release &&
|
|
|
|
mkdir -p build/release &&
|
|
|
|
find TMessagesProj/build/outputs/apk -name "*.apk" -exec cp {} build/release \; &&
|
2020-10-11 09:30:08 +00:00
|
|
|
rm -f build/release/*-debug.apk &&
|
2020-10-13 14:53:22 +00:00
|
|
|
rm -f build/release/*fullPlay*.apk &&
|
2020-07-30 12:11:37 +00:00
|
|
|
ghr -delete -n "$1" "$1" build/release
|