diff --git a/.github/workflows/public-release.yml b/.github/workflows/public-release.yml index bab7ecb7..df72498d 100644 --- a/.github/workflows/public-release.yml +++ b/.github/workflows/public-release.yml @@ -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) diff --git a/web/PUBLIC_RELEASE.json b/web/PUBLIC_RELEASE.json index ed7b40be..bcd05131 100644 --- a/web/PUBLIC_RELEASE.json +++ b/web/PUBLIC_RELEASE.json @@ -1,7 +1,7 @@ { - "source": "cac23c6d0bb9a7f6986eb79bbe42ae710805ce98", - "version": "V10.6z2", - "released_site_run": 42414949491, - "tested_beta_source": "cac23c6d0bb9a7f6986eb79bbe42ae710805ce98", - "tested_beta_run": 42414639356 + "source": "6b2fb81159b67cdd67b343c45ba76517f6c84586", + "version": "V10.7.6", + "released_site_run": 42621033129, + "tested_beta_source": "6b2fb81159b67cdd67b343c45ba76517f6c84586", + "tested_beta_run": 42620156655 } diff --git a/web/STABLE b/web/STABLE index 57ebbbff..e156dc1f 100644 --- a/web/STABLE +++ b/web/STABLE @@ -1 +1 @@ -cac23c6d0bb9a7f6986eb79bbe42ae710805ce98 +6b2fb81159b67cdd67b343c45ba76517f6c84586