mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Fetch major.minor from git branch name.
This commit is contained in:
parent
15b96b3ea8
commit
4f5e990b5f
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import subprocess
|
||||||
|
|
||||||
from methods import print_error
|
from methods import print_error
|
||||||
|
|
||||||
@ -131,7 +132,7 @@ if env["platform"] == "macos" or env["platform"] == "ios":
|
|||||||
"${BUNDLE_LIBRARY}": file,
|
"${BUNDLE_LIBRARY}": file,
|
||||||
"${BUNDLE_NAME}": "spine-godot",
|
"${BUNDLE_NAME}": "spine-godot",
|
||||||
"${BUNDLE_IDENTIFIER}": "com.esotericsoftware.spine.spine-godot",
|
"${BUNDLE_IDENTIFIER}": "com.esotericsoftware.spine.spine-godot",
|
||||||
"${BUNDLE_VERSION}": "4.2.0", # TODO: Get the proper version from somewhere. Note that this must be three integers.
|
"${BUNDLE_VERSION}": subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']).decode('utf-8').strip().split('-')[0] + '.0',
|
||||||
"${MIN_MACOS_VERSION}": "10.12",
|
"${MIN_MACOS_VERSION}": "10.12",
|
||||||
"${MIN_IOS_VERSION}": "12.0"
|
"${MIN_IOS_VERSION}": "12.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user