Skip to content

Commit

Permalink
Update release.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Jan 23, 2022
1 parent 8599474 commit 77cc7f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import os

# TODO: Build APK
apk = input('Is the APK up to date? ').lower().startswith('y')

if not apk:
raise Exception("APK is not up to date")
# apk = input('Is the APK up to date? ').lower().startswith('y')
#
# if not apk:
# raise Exception("APK is not up to date")

gradle = open('app/build.gradle.kts', 'r')
contents = gradle.read()
Expand All @@ -21,4 +21,4 @@

print("Creating draft release for version " + version_name + " (" + version_code + ")")

os.system("gh release create " + version_name + " app/build/outputs/apk/debug/app-debug.apk -F " + changelog + " -d -t " + version_name)
os.system("gh release create " + version_name + " -F " + changelog + " -d -t " + version_name)

0 comments on commit 77cc7f1

Please sign in to comment.