Skip to content
Discussion options

You must be logged in to vote

What do you mean with CustomVersion!? Do you have an example?

Let's say you have the following git history:

* commit d512752c06d761a8fe8d42158797e2f8123d5504 (HEAD -> feature/next)
|     B
* commit 32dd297268c38601eda4fe34ca536f92fe715454
|     A
* commit c7e5191d45c6c1277444d5727726d021a5389eb8 (tag: 1.0.0, master)
      Initial Commit

with configuration A:

workflow: GitFlow/v1
branches:
  feature:
    mode: ManualDeployment

gitversion would output 1.0.1-next.1+2:

{
  "AssemblySemFileVer": "1.0.1.0",
  "AssemblySemVer": "1.0.1.0",
  "BranchName": "feature/next",
  "BuildMetaData": 2,
  "CommitDate": "2024-11-21",
  "CommitsSinceVersionSource": 2,
  "EscapedBranchName": "feature-next",
  "…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@thomassvensen
Comment options

@HHobeck
Comment options

@asbjornu
Comment options

@HHobeck
Comment options

Answer selected by sagedemdreisbusch
@asbjornu
Comment options

@HHobeck
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants