Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting GitVersion for prerelease

Tags:

gitversion

I've created a new project on GitHub that I plan to deploy to NuGet.org.

I want to make the initial releases 'prerelease' (building through AppVeyor off of the master branch).

I used gitversion init to generate the GitVersionConfig.yaml. This process suggested it would create a verbose file with most things commented out, but in reality it just created this:

mode: ContinuousDeployment
branches: {}

What do I need to change to get the desired result?

like image 615
David Gardiner Avatar asked Aug 31 '25 16:08

David Gardiner


1 Answers

You can use GitVersion.exe /showconfig to see the effective configuration, we are moving away from creating the template and using GitVersion init as a configuration tool.

But the config you want is:

branches:
  master:
    tag: beta
like image 183
Jake Ginnivan Avatar answered Sep 02 '25 16:09

Jake Ginnivan