diff options
Diffstat (limited to 'publish/update_updatejson.py')
-rw-r--r-- | publish/update_updatejson.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/publish/update_updatejson.py b/publish/update_updatejson.py index 8d751e5..b381729 100644 --- a/publish/update_updatejson.py +++ b/publish/update_updatejson.py @@ -7,7 +7,7 @@ jsonPath = "../updatejson/update.json" fullFormat = "updateJsonFullVersionFormat=true" in open("gradle.properties", "r", encoding="utf8").read() data = json.load(open(jsonPath, "r", encoding="utf8")) -ver = open("version.txt", "r").read().strip() +ver = subprocess.run("python3 get_version.py", capture_output=True, text=True).stdout.strip() for gameVer in json.load(open("gameVersions.json", "r")).keys(): modVer = "{}".format(ver) if not fullFormat else "{}-{}".format(gameVer, ver) |