Skip to content

Commit

Permalink
app: more interactive new release
Browse files Browse the repository at this point in the history
  • Loading branch information
pwd491 committed May 3, 2024
1 parent fe8ade6 commit e9a2614
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,14 @@ def merge():
os.system("git pull")
time.sleep(3)
print("---Делаю merge [dev -> master]---")
os.system("git merge dev -m 'Version {NEW_APP_VERSION}'")
os.system("git merge -m 'Version {NEW_APP_VERSION}' dev")
time.sleep(3)
print("---Пушим в мастер ветку---")
os.system("git push origin master")

time.sleep(3)
print("---Переключаемся на dev ветку---")
os.system("git push origin master")
print("---Конец публикации новой ветке!---")

if choice in yes:
merge()
Expand Down

0 comments on commit e9a2614

Please sign in to comment.