@nfx ``ROOT_PACKAGE_VERSION`` is about forcing the root package version when the composer.json does not specify it and the guessing does not allow getting the right one (it should be able to detect it in many cases though). It does not change the composer.json.

But the archive command should write the package version in the composer.json of the archive, which is not the case currently for guessed versions