Replies: 1 comment
-
Please read the documentation first and use the supported workflows e.g. What I can tell you is that the meaning of Continuous Delivery has changed in version 6 and replaced with Manual Deployment. Generally we cannot helping out with custom workflows. But if you want you can engage me or other person to help you and build custom workflows. Thank you for your understanding. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
I've looked through the other discussions and through the documentation, but I did not find anything helpful, so that's why I'm asking here for help.
In my company, we are hosting our code on Azure DevOps. We are also utilizing Pipelines for CI stuff and to create Nuget packages from our sources.
Recently, I've decided to upgrade the build pipeline to use GitVersion 5 instead of 6. After some initial trouble I thought everything was looking good, but then I spotted a difference in the calculated version.
My environment:
Azure Pipeline GitVersion Tasks
3.0.0
GitVersion
6.0.3
Setup
We use GitFlow, so we have use following branches:
GitVersion.yml
My config file looks like this (sorry, code formatting seems not to like my YML content, so here is a screenshot):
Steps to reproduce
When work starts on a new feature a branch "feature/12345-FEATURENAME" is branched from develop.
The following output was created from a freshly created feature branch, with only one commit (to have a change at all).
What are you seeing?
With GitVersion 6, the output is the following:
The build number is set to the following:
Update build number to 12.34.0-Feature.987654-testfeature.689 for build 97953
The same branch, but with GitVersion version 5 (of course with old GitVersion.yml). Output looks a little bit different, but the task updates the build number to the following
Update build number to 12.34.0-Feature.987654-testfeature.1+47 for build 97976
What is expected?
The problems I've not been able to solve yet:
In our workflow, this happens when a feature branch is released (release = taging + nuget packages from source). So for a new feature branch, this count starts by 1. After it gets tagged the next version will be like ".2+XY", after the next release ".3+XY" and so on. So this also indicated how many releases were created from builds on that feature branch.
I tried quite a lot, but I wasn't able to get the "old versioning" style back. Any help is appreciated!
Thanks and best regards
Lorenz
Beta Was this translation helpful? Give feedback.
All reactions