Repository navigation
Let release-developer publish the version the sources already name (#539) - #541
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Why
A pull request that changes the developer environment must advance
distribution.jsonahead of the pin (thewf-packagecheck compares the header only when both name the same version).release-developerthen refused that very version, because it required a version strictly greater than the one ofdistribution.json: after #540,developnames 0.9.1 and 0.9.1 could not be released.What
js/developer/tools/check-release-version.sh <requested> <sources> <pinned>: the requested version must be greater than the published pin ofDeveloperReleaseData.hppand not lower than the sources. A published version stays refused.PUBLISHING.mdstates the rule.Tests
ReleaseDeveloperWorkflowrequires the workflow to compare the version with the sources and the pin;ReleaseDeveloperWorkflowRegressionmutates that call and runs the rule on seven cases (the sources' version ahead of the pin is accepted; the published version, a version below the sources or below the pin, and a malformed one are refused).