build: the relx release names 0.7.0, the version the application reports (mcl-stations#7) #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "juno/7-relx-vsn"
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?
Refs macula-services/mcl-stations#7.
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.
The change is one line:
rebar.config:55, the relx release{mcl_stations, "0.6.0"}->"0.7.0", matchingapps/mcl_stations/src/mcl_stations.app.src(already 0.7.0 sincee4f3186) and the sibling services, which move both together. No test reads the relx release version, so no test changes.Proven where it bites, on msi00 in the pinned
macula-ci-otpdigesttest.ymluses (sha256:3e202cf7…), by building the release with main's line and then with the fix:_build/default/rel/mcl_stations/releases/holds0.6.0,start_erl.datais16.3.1 0.6.0, while the app's vsn is 0.7.0;0.7.0andstart_erl.datais16.3.1 0.7.0.Gates on the fixed tree:
rebar3 lintrc=0,rebar3 xrefrc=0,rebar3 eunitall 132 tests passed,rebar3 dialyzerrc=0.Landed by hand as
08024f2a68(--no-ff, gated).Landed as
08024f2a68(--no-ff, gated). Lands on main 8ded83a's standing reds (push runs 15/16): c4-model x2, Dependency advisories, erlang in . (container). Nothing new is red.Pull request closed