Hello guys, how do you manage app version on DevOps currently? I want to know what tasks are in a version, when was that version released. Additionally be able to log the release date specific to environment would be great.
You asked 2 diff questions.
-
How to manage app version - depending on your programming language there usually is a config file that you can change the values just before build.
Now where do the values come from can be diff. It can be based on tags, running build id and date and more, but usualy there will be some step before changing the values that reads the tags or a config file that then injects the augmented values into the main config of the application.
You can do the augmenting yourself or use tasks that deal with Semantic Versioning or other scheme you want to use. -
You can have steps in tour build that query workitems and the create like release notes that aggregate the data.
You do however wanto make a few configurations.
- Every dev MUST add its its comment the ID of the task the commit is related to.
- Then in the release definition you have to configure the integration to report back to the boards.
- This will make so that each say task on the right side of the form will show you the link to the commit and under it the link to the release and its status.
- our app has multiple repos built on http://asp.net|asp.net mvc, blazor and webapis, we dont currently have version in the app, but will look into your suggestions
- didnt know we could do that. we currently manage release notes manually
- devs create PRs, and PRs have task id which gets added to the commit.
a. how do I know the diff between a previous release and the current to only extract the tasks in current build? - i have seen a message in work items that we need to enable it, odd thats its not enabled by default? maybe its resource intensive?
- got it.
Thankyou