Private
Public Access
Release 0.13.0
This commit is contained in:
1 parent
7f6eeab39e
commit
c0d891b372
49 files changed
+1523
-478
No files matched your search
@@ -21,6 +21,10 @@ def synchronize(check=False):
|
||||
path = ROOT / 'native/version.h'
|
||||
if not path.exists() or path.read_text(encoding='utf-8') != header:
|
||||
updates[path] = header
|
||||
path = ROOT / 'app/version.js'
|
||||
script = "'use strict';\nvar HYPERDRM_APP_VERSION = '" + version + "';\n"
|
||||
if not path.exists() or path.read_text(encoding='utf-8') != script:
|
||||
updates[path] = script
|
||||
if check and updates:
|
||||
raise ValueError('Version metadata is stale; run sync_version.py')
|
||||
for path, content in updates.items():
|
||||
|
||||
Reference in new issue
Block a user