Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

configure GitVersion.MsBuild to create a release by default

$
0
0

I have a simple nuget pipeline using github actions workflow where i want to create a new release of a nuget package when i push a release/vx.x.x branch.I have setup gitversion with the following configuration:

next-version: 6.0mode: ContinuousDeploymenttag-prefix: '[vV]'increment: Inheritbranches:  master:    regex: master$    increment: Patch  main:    regex: main$    increment: Patch  release:    regex: r(elease$|(eleases)?[-/])    mode: ContinuousDelivery    increment: Minor    is-release-branch: true

This works well to create a pre release when i merge a pr to main, but to get a release to be created as a new version i have to tag the version number and make it an official release in github.

Is there a way to do this automatically?


Viewing all articles
Browse latest Browse all 3067

Trending Articles