Initial Adaptive Music v0.5.0 release

This commit is contained in:
Jason committed 2026-12-03 16:11:47 -05:00
commit 14f0d8c26b
114 files changed
+6907

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"""Runner-neutral artifact generation; no publish/upload/git-host API calls."""
import os
from pathlib import Path
import json
from release import ROOT,DEFAULT_REPOSITORY,build_release
manifest=json.loads((ROOT/'module.json').read_text())
ref=os.environ.get('GITHUB_REF_NAME') or os.environ.get('GITEA_REF_NAME','')
if ref.startswith('v') and ref!='v'+manifest['version']:raise SystemExit('tag/manifest version mismatch')
repository=os.environ.get('RELEASE_REPOSITORY')
if not repository and os.environ.get('GITHUB_SERVER_URL')=='https://github.com' and os.environ.get('GITHUB_REPOSITORY'):repository='https://github.com/'+os.environ['GITHUB_REPOSITORY']
repository=repository or DEFAULT_REPOSITORY
print(build_release(repository))