I feel my current arrangements of projects could be better but can’t work out how to achieve what I want - so maybe I am missing a trick.
What I would like to do is use the ‘version’ number part of the Library Packages to control whether an environment can received a deployment or not.
So for example, a given project deploys several packages into ‘test’ environments and I would like to change the versioning of those package to make it clear the package is a test package (a bit like NuGets work with vabcd in them).
When we believe the testing is good we do a release build - where the version changes to a ‘stable’ one.
I would therefore like to set a rule that says deployments to ‘env x’ can only occur if ALL of the involved packages are stable?
That way I can have Test1, Test2, Test3…PreRelease…Release…where PreRelease can only take stable packages and Release can only occur once PreRelease is deployed.
Can anyone help explain to be how to achieve this?