diff --git a/.github/mod_id.txt b/.github/mod_id.txt new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/.github/mod_id.txt @@ -0,0 +1 @@ +0 diff --git a/.github/prepare.py b/.github/prepare.py index 3a2d99db6..dde923f24 100755 --- a/.github/prepare.py +++ b/.github/prepare.py @@ -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'])