File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,5 +128,8 @@ gitversion
128128* .fsdbinary
129129/locale /progress.json
130130
131+ # Generated by db_update.py
132+ eve.db
133+
131134# vscode settings
132135.vscode
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ label = subprocess.check_output([
1111with open ('.version' , 'w+' ) as f :
1212 f .write (label .decode ())
1313
14+ # Use PYFA_VERSION from the environment (set in CI), falling back to the
15+ # git-describe label so local builds don't crash on a None plist value.
16+ pyfa_version = os .getenv ('PYFA_VERSION' ) or label .decode ()
17+
1418block_cipher = None
1519
1620added_files = [
@@ -88,7 +92,7 @@ coll = COLLECT(
8892app = BUNDLE (
8993 coll ,
9094 name = 'pyfa.app' ,
91- version = os . getenv ( 'PYFA_VERSION' ) ,
95+ version = pyfa_version ,
9296 icon = icon ,
9397 bundle_identifier = None ,
9498 info_plist = {
@@ -97,7 +101,7 @@ app = BUNDLE(
97101 'CFBundleName' : 'pyfa' ,
98102 'CFBundleDisplayName' : 'pyfa' ,
99103 'CFBundleIdentifier' : 'org.pyfaorg.pyfa' ,
100- 'CFBundleVersion' : os . getenv ( 'PYFA_VERSION' ) ,
101- 'CFBundleShortVersionString' : os . getenv ( 'PYFA_VERSION' ) ,
104+ 'CFBundleVersion' : pyfa_version ,
105+ 'CFBundleShortVersionString' : pyfa_version ,
102106 }
103107)
You can’t perform that action at this time.
0 commit comments