Last active
February 9, 2019 22:58
-
-
Save mega-arbuz/9073fccc6e6ad57c371c7957b2b4bb0c to your computer and use it in GitHub Desktop.
Use app name and version for APK file name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_target_file_name(app_name, app_version): | |
app_name = app_name.lower() | |
app_version = app_version.replace('.', '_') | |
return '{name}_{version}.apk'.format(name=app_name, version=app_version).replace(' ','') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment