1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
PySolFC/buildozer/test.py
lufebe16 eaae284140 android version.
- moved additional summaries from fdroid to fastlane.
2023-04-29 10:50:54 +02:00

13 lines
233 B
Python

import re
f=open("pubspec.json")
print (f)
txt=f.read().replace('\n', '')
print (txt)
print ()
mg = re.search('versionCode[:"\s]+(\d+)',txt)
print (mg.group(1))
ng = re.search('versionName[:"\s]+([\d.]+)',txt)
print (ng.group(1))