mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
[private-preview] promote tested V10.7.6 as public (velocity and aftertouch, VEL amount, SWARM FAR/NEAR, GENE mix and Latin genres, DRUM-X punch, OCT vibrato/bend, app contract and NRPN, bug review); the velocity page public too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
3 files changed
+11
-8
No files matched your search
@@ -39,7 +39,7 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: github-pages
|
||||
run-id: 42414949491
|
||||
run-id: 42621033129
|
||||
github-token: ${{ github.token }}
|
||||
path: build/released
|
||||
- name: JieLi toolchain cache
|
||||
@@ -118,10 +118,13 @@ jobs:
|
||||
prior=json.loads((fw/'versions.json').read_text())
|
||||
old={v['file']:digest(fw/v['file']) for v in prior}
|
||||
v=re.search(r'^#define FELUCCA_VERSION "([^"]+)"',Path('build/candidate/firmware/src/felucca.c').read_text(),re.M).group(1)
|
||||
assert m['version']==v and v=='V10.6z2'
|
||||
assert m['version']==v and v=='V10.7.6'
|
||||
make_site.main('build/candidate/build/felucca.fwsc',m['version'],'build/new-public',str(fw))
|
||||
for name in ('webapp','firmware'):
|
||||
shutil.rmtree(pages/name);shutil.copytree(Path('build/new-public')/name,pages/name)
|
||||
if Path('build/candidate/web/vel.html').exists(): # (V10.7.6) the velocity page, public too
|
||||
(pages/'webapp/vel').mkdir(parents=True,exist_ok=True)
|
||||
shutil.copyfile('build/candidate/web/vel.html',pages/'webapp/vel/index.html')
|
||||
fw=pages/'firmware';versions=json.loads((fw/'versions.json').read_text())
|
||||
assert len(versions)==len(prior)+1 and versions[0]['version']==m['version']
|
||||
assert all(v.get('status')!='beta' and not v['version'].endswith('-preview') for v in versions)
|
||||
|
||||
Reference in new issue
Block a user