mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
15 lines
498 B
Python
15 lines
498 B
Python
from os import system as run
|
|
import tgconfig
|
|
|
|
if tgconfig.GH_REPO.lower() == "libre-tube/libretube":
|
|
run("git clone https://github.com/LibreTubeAlpha/Archive archive")
|
|
run("rm -rf archive/*.apk")
|
|
run("mv app/build/outputs/apk/debug/*.apk archive/")
|
|
run("cd archive")
|
|
run("git add -f *")
|
|
run('git commit -m "WORKFLOW: ALPHA BUILDS"')
|
|
run("git push -u")
|
|
run("cd ..")
|
|
else:
|
|
run("mkdir archive")
|
|
run("mv app/build/outputs/apk/debug/*.apk archive/") |