I have a package version 1.2.0.0
and I've created a patch with some hotfixes which I packaged as 1.2.1.0
(updated the patch version). During packaging of 1.2.1.0
the ancestor version specified is version 1.2.0.0
. All of the versions are released - in order for package ancestry to work.
The question I have is the following. What do I need to specify as the ancestor for version 1.3.0.0
once more code changes are merged and a decision to package it is made?
Do I specify 1.2.0.0
or 1.2.1.0
? What if I have another patch release version 1.2.2.0
afterwards?
Will it be possible to upgrade from 1.2.1.0
to 1.3.0.0
if they both share the same ancestor, i.e. 1.2.0.0
?
Edit: The documentation specifies:
1.2.0.3 -> 1.3.0.7
No. To upgrade to 1.3.0.7, package version 1.2.0.3 must be the specified ancestor, or the specified ancestor must be a descendent of 1.2.0.3.
Would this mean that in my example the common ancestor should be 1.2.0.0
and this would allow the package upgrade?