Reputation: 7927
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?
Upvotes: 4
Views: 8552
Reputation: 41545
The Version pick list format (the date & number) is taken from the Build Number format, so just add your variable to there:
Upvotes: 4