feat: publish rebuilds of an upstream tag as v0.7.3.N #4
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/rebuild-versions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3.
What
v0.7.3.N(N = 1..999) is a rebuild of upstreamv0.7.3with the currentpatches/. It is published as its own releasev0.7.3.N, so a patch change can reach an already released version.v0.7.3works as before.appinfo.jsonis set to app version0.7.3NNN(v0.7.3.1->0.7.3001). The ipk name, itscontrolfile, the service bundle and the manifest all carry it.manifestUrl) instead of app versions, because0.7.3001sorts above0.7.4.x.y.0(it would clash with upstreamx.y.N), and a rebuild number of.0, over 999, or with a leading zero.patches/was missing and "Apply local patches" (#2) would have failed on the next run. It now fetches$GITHUB_SHAfirst, and that commit is recorded in the release notes.Why not
0.7.3.1inside the ipkThe issue's open question, answered from upstream v0.7.3's source:
DetailsPanel.jsgets the installed version from the TV (getAppInfo, i.e. the installedappinfo.json) and shows "Update" whenever it!==the index's version.versionHigher()is never called.ares-packagerejects anything butx.y.z(regex inlib/package.js, in both the locked 3.0.2 and 3.2.6).So changing only the manifest would leave "Update" lit forever after installing. A 4-part version can't go into the ipk, so the rebuild number goes into the patch field.
Testing
v0.7.3,v0.7.3.1,v0.7.3.42,v0.7.12.999,v0.8.0, plus the refused cases), themanifestUrltag parsing against the live index, and thesort -Vordering.v0.7.3.1, then checking on the TV that it installs and shows0.7.3001.🤖 Generated with Claude Code