My organization has a git repository that has been in use for years. We have our own tagging system. When a release branch is cut for production release at the end of a sprint, we create a tag vSprint-< SprintNumber >-< year > We are now containerizing the application and using GitVersion we want to come up with an automated strategy to determine the tag. The issue is that when GitVersion tries to calculate the SemVer, it is picking the highest < SprintNumber> (but the tag is from a release branch from a previous year) as the Major version. Is there a way to enforce the major version as '1'? I tried using 'next-version' property in gitversion.yaml but it works only if the version is greater than what gitversion calculates.
Related Questions in AZURE-DEVOPS
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Error: VS800075 when downloading artifact from another project
- Azure Scale Sets and Parallel Jobs
- Get current Timestamp in CET format and concatenate with string in yml file
- Post-Job Checkout Hanging in Azure DevOps Pipelines
- Referencing yml file from submodule in main pipeline
- Where to find a User Story draft?
- Self Hosted Agent service startup getting failed on VM restart
- Azure pipeline unable to deploy via a bicep file and set values for its parameters
- Dacpac deployment to Azure via SSMS failed: Cannot alter the role db_owner
- NodeJS [Errno 13] Permission denied - Azure DevOps pipleline AWS Lambda deployment
- Share variables across stages in azure pipelines with templates
- Can I move an Azure Data Factory Pipeline to Azure DevOps?
- How to migrate a single workitem in Devops
- Deploy Docker Image into AKS cluster using Azure Release Pipelines with the parameters like clustername, acr, resourcegroup
Related Questions in GITVERSION
- Why is version patch not being incremented using Gitversion in Github Actions?
- First version after tag push has patch equal to 1 and not 0. Why?
- AzurePipeline GitVersion step not finding the config.yaml
- Gitversion "could not load ssl libraries" error on TeamCity with normalization enabled
- How to update the version of a package in Deploy->Package Registry of gitlab
- Correct way to use git version in a GitHub action .NET Core
- How to tell Gitversion to increment versions on every merge on dev?
- Gitversion issues with incrementing version
- How to interact with GitVersion init in Visual Studio Package Manager Console
- GitVersion to correctly update assembly version for master, dev, hotfix branches
- GitVersion config not working on main branch
- Using gitversion with gitflow and github actions for nuget package
- GitVersion Error: The process '/opt/hostedtoolcache/GitVersion.Tool/5.12.0/x64/dotnet-gitversion'
- Publish to Azure DevOps feed with same prerelease but different metadata?
- GitVersion issue: Mainline development does not support more than one merge source in a single commit yet
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?