Skip to content

Commit

Permalink
app: release python file fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pwd491 committed May 3, 2024
1 parent 1328020 commit 5dbf371
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,21 @@ def merge():
json.dump(data, f, ensure_ascii=False, indent=4)
os.system("git add .")
time.sleep(1)
print("---Комичу новую версию---")
os.system(f"""git commit -am "Version {NEW_APP_VERSION}" """)
time.sleep(1)
print("---Отправляю в dev ветку---")
os.system("git push")
time.sleep(3)
print("---Переключаюсь на master ветку---")
os.system("git checkout master")
os.system("git add .")
os.system(f"""git commit -am "Version {NEW_APP_VERSION}" """)
os.system("git push")
print("---Скачиваю все изменения из master---")
os.system("git pull")
time.sleep(3)
print("---Делаю merge dev -> master---")
os.system("git merge dev")
time.sleep(3)
print("---Пушим в мастер ветку---")
os.system("git push origin master")


Expand Down

0 comments on commit 5dbf371

Please sign in to comment.