I have been trying to find some information on how variable groups are versioned in Azure DevOps (or if they even are versioned at all).
My "problem" is that what if we have the following scenario:
We have a release pipeline that has a linked variable group with a set of variables that the release is dependent upon.
During our first run of the release pipeline (release 1) we deploy our applications and we use the variable groups variables to configure the application.
After our first release, everything works fine, a few weeks pass and we decide to make a few changes to our variable groups. for instance, we might change the name of a variable, or change the value. Now we are ready for our next release (release 2).
We run our release, but only to find out that something is broken, the application does not work anymore.. so we quickly want to roll back to a previous stage (to release 1), so we simply just "re-release/re-run" the release we did for release 1... however.. since we have changed our variable groups variables, would this cause us to do a release with the newly updated variables, or does Azure DevOps somehow store/"snapshot" the stage of the variable groups from the first time the release ran?