Bring back mod_id.txt
Removed in 59f89f9a46
, brought back to minimize discomfort downstream. prepare.py will still default to the mod_id in meson_options.txt if mod_id.txt is deleted though.
This commit is contained in:
parent
dd7178dbc8
commit
0ff08c276f
1
.github/mod_id.txt
vendored
Normal file
1
.github/mod_id.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
0
|
4
.github/prepare.py
vendored
4
.github/prepare.py
vendored
@ -46,6 +46,10 @@ with open('build-prepare/meson-info/intro-buildoptions.json') as f:
|
||||
for option in json.loads(f.read()):
|
||||
build_options[option['name']] = option['value']
|
||||
|
||||
if os.path.exists('.github/mod_id.txt'):
|
||||
with open('.github/mod_id.txt') as f:
|
||||
build_options['mod_id'] = f.read()
|
||||
|
||||
set_output('mod_id' , build_options['mod_id' ])
|
||||
set_output('app_name' , build_options['app_name' ])
|
||||
set_output('app_comment', build_options['app_comment'])
|
||||
|
Loading…
Reference in New Issue
Block a user