SemVer - i'd like to increase patch value on each build

Lukasz's Avatar


12 Jul, 2019 11:06 AM

I'd like to increase patch value on each build, i'm using gitversion and i want to appveyor build numer replace on semver patch position, is there a chance to do that?
I'm running build on windows worker

  1. Support Staff 1 Posted by Owen McDonnell on 12 Jul, 2019 04:38 PM

    Owen McDonnell's Avatar

    I'm not totally clear on how you are using gitversion, but you can use environment variables in version: key with $() syntax.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • 2.JPG 14.2 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac