mirror of
https://github.com/MikroWizard/mikrofront.git
synced 2025-06-21 10:25:40 +02:00
MikroWizard Initial commit | MikroFront Welcome to the world :)
This commit is contained in:
commit
b97aec6b97
203 changed files with 41097 additions and 0 deletions
13
version_generate.py
Normal file
13
version_generate.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import json
|
||||
import os
|
||||
#load package.json and extract version infromation and write it to a file
|
||||
with open('./package.json') as f:
|
||||
data = json.load(f)
|
||||
data ={
|
||||
'version': data['version'],
|
||||
'name':data['name']
|
||||
}
|
||||
with open('./dist/mikrowizard/version.json', 'w') as f:
|
||||
json.dump(data, f)
|
||||
print('Version information written to version.json')
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue