I have a build and release pipeline in Azure DevOps. The build has archive and publish steps.

And then the release picks up the archives to deploy them.

The build has a parameter where I specify the environment, changing some of the build command arguments. So the build can easily create archives for different environments.
I then have a release for each environment, but I cannot tell which archive belongs to which environment because the version is determined by today's date plus a number.
Is there a way to specify the version number for an archive or see the archive names in the selection so I can determine which artifacts came from certain build environments?
The Version pick list format (the date & number) is taken from the Build Number format, so just add your variable to there:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With