Skip to main content

Questions tagged [gitversion]

GitVersion uses your Git history to infer your semantic version using a set of built in conventions. It currently works with GitHubFlow and GitFlow.

gitversion
Filter by
Sorted by
Tagged with
2 votes
1 answer
157 views

When using gitversion (the latest, v6.*) in a github action, is the SemVer supposed to increase by 1 at the end each commit? I thought it was from what I was ...
pfinferno's user avatar
  • 2,041
1 vote
0 answers
395 views

I am unable to calculate versions with GitVersion. The repo I am testing on does not have any previous tags or releases. I am using the CLI version of the tool, not the actions (on github enterprise ...
pfinferno's user avatar
  • 2,041
1 vote
0 answers
39 views

How can I increment label? I.e X.X.X-labelname.Y (increment the y number) every time a change is made to main branch My GitVersion.yaml I currently have ...
Alex's user avatar
  • 11
0 votes
0 answers
35 views

I am working on plugin development and my plugin has to run in the 2024 AND 2025 version of the Host application. The source code is written so that at any time - any checkin / any git node - I can ...
Peter S.'s user avatar
  • 178
0 votes
0 answers
197 views

I'm using GitVersion with the default GitFlow workflow (workflow: GitFlow/v1), and I want to leverage both: Use annotated Git tags (e.g. v1.2.0) to create stable releases Use +semver: in commit ...
ZSH's user avatar
  • 653
1 vote
0 answers
349 views

I'm trying to set up GitVersion (dotnet-gitversion tool version 6.1) so that: The main branch always produces stable versions without any pre-release tags. All branches, including feature branches, ...
  Daniil Basanets's user avatar
0 votes
1 answer
516 views

I am using Gitversion tasks in Azure Release pipeline to find the next tag sequence. I have added update-build-number=false in the execute gitversion task. ...
Nikitha Koshy's user avatar
0 votes
1 answer
178 views

I have Azure DevOps Yaml pipeline with 2 repositories used: Main repo: the one with .yml files (in my example branch used: ...
db_k's user avatar
  • 366
0 votes
1 answer
494 views

I've recently upgraded to GitVersion 6.0.x (due to various other issues) and now I can't seem to get my master builds to get versioned correctly. I want the master builds to be named "-alpha"...
PMF's user avatar
  • 17.7k
2 votes
1 answer
765 views

I'm creating an Azure Devops pipeline to build a small library. As it's a tiny project, I don't use branches to develop functionalities. I work inside the master branch. Here is the beginning of my <...
Julien Ferraro's user avatar
0 votes
1 answer
3k views

I am trying to us GitVersion in Azure Pipelines to help with auto-versioning our builds/commits. My flow is very similar to what is shown in this Feature Branch ...
RHarris's user avatar
  • 11.3k
1 vote
0 answers
200 views

I've been using Nuke Build with GitVersion for a while now quite successfully. However I've tried the upgrade to v6.0.0 of GitVersion in Nuke and it seems to cause me problems. I'm using Nuke to ...
Captain John's user avatar
  • 2,011
2 votes
1 answer
1k views

In my Azure DevOps pipeline I'm using GitVersion to determine a version number for my software system using semantic versioning. At this time, the GitVersion task fails because my repo is shallow. To ...
Eduard Keilholz's user avatar
0 votes
2 answers
712 views

My organisation have an instance of Azure DevOps Services. I have noticed recently that this vulnerability was opened on GIT: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32002 I am ...
Stephen Mulryan's user avatar
4 votes
1 answer
3k views

I needed to upgrade to GitVersion 6.0.0-beta.6 for .NET 8 support, but this leads to following exception in my Gitlab CI Build Job: An error occurred: Could not build the configuration instance ...
Veronika Taferner's user avatar
0 votes
0 answers
81 views

I am using gitversion in azure devops. But it is not calculating the version correctly. As I am implementing it in existing repo, which has a lot of history with something like release-03082024 in ...
user24205733's user avatar
1 vote
0 answers
342 views

I am using GitVersion with Github Actions with main branch. When a new tag is pushed to main branch, e.g. v2.0.0, I want to increase the patch: ...
Miguel Moura's user avatar
  • 40.1k
1 vote
0 answers
173 views

I am using GitVersion with Github Actions with main branch. When a new tag is pushed to main branch, e.g. v2.0.0, I want to increase the patch: ...
Miguel Moura's user avatar
  • 40.1k
2 votes
1 answer
894 views

I've run out of idea trying to get my azure pipeline to work. I have 2 repositories, one for the pipelines templates and one for my project. Idea is to have generic pipelines ready to use in my ...
TeKilla's user avatar
  • 39
0 votes
1 answer
158 views

Currently, I am in the process of migrating the TeamCity Agent from AWS Linux2 to AWS Linux2023. I have a problem with the git-version application. I'm receiving an error: ...
Jakub's user avatar
  • 1,325
1 vote
0 answers
314 views

I have a static version in pyproject.toml, I want the version to be dynamic, everytime when I deploy the latest version I want to update the version of the package ...
Abhiram Devisetti's user avatar
0 votes
0 answers
1k views

I have an API in .NET Core I'm new in Github actions and I am trying to set a github action that everytime we send a PR, it updates the API project version. I'm working with dependabot, so the idea is ...
Alekei 117's user avatar
0 votes
0 answers
2k views

We create our features on feature/* branches and we make Pull Requests on Azure DevOps to merge them on dev branch. On the PR, ...
13bloc's user avatar
  • 13
0 votes
1 answer
194 views

I have a circleci pipeline that process a net core project and generate a nuget package. I followed the steps in this great tutorial https://renatogolia.com/2022/12/23/publish-nuget-package-with-...
Mauro Alvarez's user avatar
1 vote
1 answer
339 views

When using GitVersion you interact by using gitversion init to access the executable available via NuGet. However it looks like the package manager console does not ...
Jeroen3's user avatar
  • 935
0 votes
1 answer
738 views

I am using GitVersion in an Azure DevOps pipeline to automate deployments, however I'm struggling to get the automatic versioning to work as I want. The branch structure is like this: ...
WSC's user avatar
  • 1,032
0 votes
0 answers
452 views

Im implementing CI/CD process with github actions into my flutter app, Im using gitversion to manage verions that is my actions file configuration ...
Johnn Hidalgo's user avatar
0 votes
0 answers
590 views

I have multiple repositories which contain microservices. What I want to do is that when I release a new version I want to deploy the whole system. Each repo generates a docker image and deployments ...
Branislav B.'s user avatar
0 votes
0 answers
520 views

I have a development in course, based on many projects (each of which represents a microservice). All of them are using the Spring Boot Framework and must be compiled in Azure Devops in order to ...
Fernando Martin's user avatar
2 votes
1 answer
10k views

I have a repo which has a TAG 1.0.0 on main and i am running a github workflow on branch "dev" ...
wehelpdox's user avatar
  • 623
0 votes
1 answer
188 views

Overview: Here is the git strategy I have: main branch reflects production developer creates branch from main with feature/jiraTiketNb and implements it there developer can merge any time feature/...
Anastasiia Melnyk's user avatar
0 votes
1 answer
998 views

I am generating NuGet packages from a C# project. My C# project references GitVersion.MsBuild version 5.12.0. When I build and then call dotnet pack, by default my NuGet gets a name like this: ...
Claus Appel's user avatar
  • 1,793
0 votes
1 answer
744 views

I am working on a .net project and I am not able to understand how to access the assembly version from the AssemblyVersion.cs file that is being generated by the GitVersion.MSBuild task. I would like ...
Alexander Riccio's user avatar
0 votes
1 answer
60 views

I have a problem, of course. I lost 4 days trying to make it work but without success. What I want is, using gitversion task, to build and publish main and develop branches to artifact feed. For ...
milandjukic88's user avatar
2 votes
1 answer
908 views

I am generating a NuGet package from a C# project. I want to be able to set suffixes on my NuGet package names, such as MyProject-1.0.0--staging and MyProject-1.0.0--development. Merely renaming the ....
Claus Appel's user avatar
  • 1,793
2 votes
1 answer
2k views

The Background: I have a Git repository with random tags for various things however when our pipeline runs we execute GitVersion to calculate the version number for a nuget package in the solution. ...
Adam H's user avatar
  • 1,826
0 votes
1 answer
247 views

We are using a Azure yaml pipeline and Gitversion, configured to version up based on PR templates. ...
Julie's user avatar
  • 33
2 votes
0 answers
1k views

We are trying to overhaul our GitVersion setup and for some reason the Patch version is not incrementing in our release branches, either automatically or explicitly with ...
Mattias B.'s user avatar
1 vote
0 answers
183 views

I made a release in version v1.0.0-a1 on github and I launched the build on jenkins, until there all worked very well then I create a new tag v1.0.0-a2 on github and I relaunch a build. Since I have ...
Marc's user avatar
  • 279
1 vote
1 answer
617 views

In my project, I use the GitVersion.MsBuild library to keep track of the application version on the wpf. When building in gitlab there is an ...
Arthas's user avatar
  • 15
1 vote
0 answers
561 views

I have a requirement for Automatic versioning based on branches. I have set a tag on my master branch as 1.0.0 if changes from feature branch get merged to Master then Minor should get incremented as ...
Sathish Kumar's user avatar
2 votes
1 answer
797 views

I am using GitVersion to version my C#.NET application. My application also has a -V option, to show the current version of the ...
Bart Friederichs's user avatar
1 vote
0 answers
136 views

We have the pipeline yml file autogenerate our software part number using the git version info. We are having a problem with the number of digits and I'm not sure how/of we can implement the logic in ...
Priya's user avatar
  • 11
0 votes
1 answer
344 views

I have on-prem TFS 2015, and want to run gitversion, so added step as below: GitVersion.yml: ...
overflowed's user avatar
  • 1,263
-1 votes
1 answer
468 views

I am trying to do auto-update process. I having my updated version exe in my GitHub When I start the lower version exe from my local machine. It really want me ask me for update. That updated should ...
Bruse's user avatar
  • 7
0 votes
1 answer
962 views

I use GitTools for auto increment semVer. The current version: v1.1.1 calculate SemVer: "MajorMinorPatch": "1.2.0" when incrementing the patch: <...
Metin Bulak's user avatar
0 votes
1 answer
216 views

I am using GitVersion in my WPF-project. When publishing my app I use profile setting Produce single file which I want to stick to. Publish only runs successfully if I set im my .csproj-file: ...
Tom667's user avatar
  • 99
1 vote
1 answer
4k views

I operate git-version with git-flow. I want to bump version up to 1.0.0 when I merge develop to main. Version as of develop is 0.1.0, and I did merge it to main with commit message contains bumping ...
Yusuke Masuda's user avatar
3 votes
1 answer
3k views

I am working on a project based on this repo (I would ask the question on it's issues, but it is quite stale...) I am trying to do the task, to create the the pipeline, but it fails within this step: <...
krapulax's user avatar
  • 205
6 votes
2 answers
2k views

Getting error when run task gitversion/execute on azure devops yaml pipeline ...
Janusz Nowak's user avatar
  • 2,886

1
2 3 4 5