Shadow
Shadow

Reputation: 2478

Read release version from package in azure devops

I have file in my repository with release version number, this file is used across all releases. Creating new release requires commit with new version number. Can I configure azure pipelines to read this number from repository and embed in release name?

Upvotes: 0

Views: 279

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31083

Yes, you could use Powershell script to read the version number from the file, and then use logging commands to update the release name for the running release:

##vso[release.updatereleasename]my-new-release-name

Upvotes: 1

Related Questions