Set Neitzel FX Designer version to 0.1.0

This commit is contained in:
2026-11-26 10:24:04 +01:00
parent 54c41cd654
commit 49682eaa21
33 changed files with 58 additions and 48 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ run([ROOT/'mvnw','-B','-ntp','-pl','designer-standalone','org.apache.maven.plugi
with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp:
stage=Path(tmp)/'input'; stage.mkdir()
# Explicit manifest order: the verified Kit patch must precede upstream Kit.
paths=[ROOT/'designer-standalone/target/designer-standalone-0.1.0-SNAPSHOT.jar']
paths=[ROOT/'designer-standalone/target/designer-standalone-0.1.0.jar']
deps=[Path(s) for s in (ROOT/'designer-standalone/target/package-classpath.txt').read_text().strip().split(os.pathsep)]
paths += sorted(deps,key=lambda f:(0 if f.name.startswith('designer-kit-ui-') else 1,f.name))
for file in paths:
@@ -41,7 +41,7 @@ with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp:
run([java/'bin/jar','cfm',stage/'launcher.jar',manifest,'-C',empty,'.'])
tools=Path(tmp)/'tools'; tools.mkdir()
for name in ('target-tools','contracts','preview-api'):
file=ROOT/f'designer-{name}/target/designer-{name}-0.1.0-SNAPSHOT.jar'
file=ROOT/f'designer-{name}/target/designer-{name}-0.1.0.jar'
shutil.copy2(file,tools/file.name)
shutil.copy2(ROOT/'THIRD-PARTY-NOTICES.md',stage)
runtime=Path(tmp)/'runtime'
@@ -58,7 +58,7 @@ with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp:
assert '/tools/' not in cfg, 'Target tools leaked into the host launcher'
inventory={str(f.relative_to(app)):hashlib.sha256(f.read_bytes()).hexdigest() for f in sorted(app.rglob('*')) if f.is_file()}
(destination/'package-manifest.json').write_text(json.dumps({'platform':platform.platform(),'architecture':platform.machine(),
'applicationVersion':'0.1.0-SNAPSHOT','bundleVersion':'1.0',
'applicationVersion':'0.1.0','bundleVersion':'1.0',
'source':subprocess.check_output(['git','rev-parse','HEAD'],cwd=ROOT,text=True).strip(),
'workingTreeDirty':bool(subprocess.check_output(['git','status','--porcelain'],cwd=ROOT,text=True).strip()),
'javaRelease':(java/'release').read_text(),'files':inventory},indent=2)+'\n')