The relx release still says 0.6.0 while the application is 0.7.0 #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Purpose (defect): a release built from main names itself 0.6.0 while the application it carries is 0.7.0, so the release a box runs and the version it is never agree.
apps/mcl_stations/src/mcl_stations.app.src:3is{vsn, "0.7.0"}, moved there bye4f3186(the ETS read model, macula-services/mcl-stations#1)./healthreports that value, andmcl_stations_service_tests:info_version_matches_the_application_testguards it.rebar.config:55still names the relx release{release, {mcl_stations, "0.6.0"}, ...}; that line was last moved by82bd80d, which shipped 0.6.0.releases/0.6.0/and theRELEASESentry from that line, so an image built from main — and av0.7.0tag off it — carries a release that calls itself 0.6.0.mcl-mailcarries0.6.2in itsapp.srcand in its relx release,mcl-rag0.11.0,mcl-graph0.6.0.What it costs: the release's own version is what the release directory, the start script and the
RELEASESfile say. Reading the version of a running box from the release gives the pre-ETS number, and a tag that saysv0.7.0ships a release whose files say 0.6.0.No check is proposed: the fix is the one-line bump in
rebar.config, and no test reads the relx release version today.Found while verifying macula-services/mcl-stations#1 against main.
Purpose (defect) met: a release built from main names itself 0.7.0, the version the application already carries.
Landed by forge PR 8, merged
--no-ffas08024f2a, which is main's head. On that commitrebar.config:55reads:and
0.6.0no longer appears in the file. The range was one line, as this issue proposed, andapps/mcl_stations/src/mcl_stations.app.srcstill says0.7.0, so the two agree again.Proven where it bites, not only in the diff: on the reviewed tip (
a3c7a08, file-identical to what main holds)rebar3 releasewrote_build/default/rel/mcl_stations/releases/0.7.0/andstart_erl.datanamed 0.7.0, while the same tree with the line put back to0.6.0wrotereleases/0.6.0/. Nothing else changed in the branch.Still open, not this issue's fix: a
v0.7.0tag is blocked on this repository's standing reds —c4-modelx2,Dependency advisoriesanderlang in . (container)are red on every commit (push runs 15/16), and the tag script wants a push run whose tasks all succeeded or were skipped. Details are with Mars.No check is proposed, as this issue says: no test reads the relx release version.