tools: prepare MIT source for public distribution
Ship MIT notices with published outputs and keep runtime credentials, configuration and history out of source archives. Audit working files, staged blobs and reachable history before publication. Refs #19
This commit is contained in:
@@ -51,6 +51,8 @@ def main():
|
||||
else:
|
||||
shutil.copy2(file, target)
|
||||
shutil.copytree(root / 'src' / 'FinalToken.StreamDeck' / 'plugin', plugin, dirs_exist_ok=True)
|
||||
shutil.copy2(root / 'LICENSE', output / 'LICENSE')
|
||||
shutil.copy2(root / 'LICENSE', plugin / 'LICENSE')
|
||||
manifest_path = plugin / 'manifest.json'
|
||||
manifest = json.loads(manifest_path.read_text(encoding='utf-8'))
|
||||
manifest['Version'] = plugin_version
|
||||
|
||||
Reference in New Issue
Block a user