Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

v0.8.0-alpha.3: Release controller: patches are applied on the owning release only

Compare
Choose a tag to compare
@parhamdoustdar parhamdoustdar released this 13 Feb 14:21
Since the moment of introduction of Patch interface, release controller
and strategy executor in particular started using `Patch.Alters()`
method in order to distinguish altering patches from no-op. It turned
out there was an inconsistency between the recepient and the validation objects.
In essense, we were checking if a patch alters a predecessor release object
whereas on a positive check it was sent to alter the successor release. This
patch ensures all patches are validated against the same generation of releases.

Signed-off-by: Oleg Sidorov <[email protected]>