diff --git a/patchport.py b/patchport.py index 8b6d23ce5..2459d73ec 100644 --- a/patchport.py +++ b/patchport.py @@ -92,7 +92,7 @@ re_versioncode_xml = re.compile(r'(platformBuildVersionCode="[0-9]+")') re_versionname_xml = re.compile(r'(platformBuildVersionName="[0-9a-z.]+")') re_versioncode_yml = re.compile(r'versionCode: \'([0-9]+)\'') -re_versionname_yml = re.compile(r'versionName: \'(.+)\'$') +re_versionname_yml = re.compile(r'versionName: \'?(.+?)\'?$') re_releasedate = re.compile(r'released on ([0-9]{4}-[0-9]{2}-[0-9]{2})') re_crashlytics = re.compile(r'com\.crashlytics\.android\.build_id">([a-z0-9]'