mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-14 06:39:25 +01:00
18 lines
547 B
Bash
Executable File
18 lines
547 B
Bash
Executable File
#!/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
|
|
|
|
rm -rf build/release &&
|
|
mkdir -p build/release &&
|
|
find TMessagesProj/build/outputs/apk -name "*.apk" -exec cp {} build/release \; &&
|
|
rm -f build/release/*-debug.apk &&
|
|
rm -f build/release/*fullPlay*.apk &&
|
|
ghr -delete -n "$1" "$1" build/release |