GitVersion: Unable to remove -ci from master builds

Guys,

I don’t want to have the “-ci0015” appended to my MASTER builds when using ContinuousDeployment. How do I turn that off?

assembly-versioning-scheme: None
mode: ContinuousDeployment
next-version: 0.4.8
branches:
  master:
    mode: ContinuousDeployment
    tag: ''
ignore:
  sha: []

I have tried the above!

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 2
  • Comments: 22 (12 by maintainers)

Most upvoted comments

Was this addressed at some point?

Any update on this?

Even with a single +semver:minor in a commit to master there is no bump in version at all when using the .yml above.

Do you have a guestimate of when you plan on shipping 4.0?

@JakeGinnivan Having the option of [1] would be awesome, even if it is not SemVer… I would be interested in telemetery on its usage.

I thought about [2] and rejected it for the reasons that you specified.

Unfortuantly PreReleaseNumber is blank 😦

[ { "Name": "GITVERSION_LEGACYSEMVERPADDED", "Value": "0.6.0" }, { "Name": "GITVERSION_COMMITDATE", "Value": "2016-08-11" }, { "Name": "GITVERSION_PRERELEASETAG", "Value": ".18" }, { "Name": "GITVERSION_PRERELEASENUMBER", "Value": "" }, { "Name": "GITVERSION_INFORMATIONALVERSION", "Value": "0.6.0+Branch.master.Sha.406e7fac606ef3ee21d71795ab68fea375648878" }, { "Name": "GITVERSION_NUGETVERSIONV2", "Value": "0.6.0" }, { "Name": "GITVERSION_MAJOR", "Value": "0" }, { "Name": "GITVERSION_SHA", "Value": "406e7fac606ef3ee21d71795ab68fea375648878" }, { "Name": "GITVERSION_PATCH", "Value": "0" }, { "Name": "GITVERSION_PRERELEASELABEL", "Value": "" }, { "Name": "GITVERSION_LEGACYSEMVER", "Value": "0.6.0" }, { "Name": "GITVERSION_NUGETVERSION", "Value": "0.6.0" }, { "Name": "GITVERSION_BUILDMETADATA", "Value": "" }, { "Name": "GITVERSION_FULLBUILDMETADATA", "Value": "Branch.master.Sha.406e7fac606ef3ee21d71795ab68fea375648878" }, { "Name": "GITVERSION_MAJORMINORPATCH", "Value": "0.6.0" }, { "Name": "GITVERSION_COMMITSSINCEVERSIONSOURCEPADDED", "Value": "0018" }, { "Name": "GITVERSION_SEMVER", "Value": "0.6.0" }, { "Name": "GITVERSION_FULLSEMVER", "Value": "0.6.0" }, { "Name": "GITVERSION_PRERELEASETAGWITHDASH", "Value": "" }, { "Name": "GITVERSION_BUILDMETADATAPADDED", "Value": "" }, { "Name": "GITVERSION_COMMITSSINCEVERSIONSOURCE", "Value": "18" }, { "Name": "GITVERSION_ASSEMBLYSEMVER", "Value": "" }, { "Name": "GITVERSION_BRANCHNAME", "Value": "master" }, { "Name": "GITVERSION_MINOR", "Value": "6" } ]

@MrHinsh add the following configuration continuous-delivery-fallback-tag: ''

assembly-versioning-scheme: None
mode: ContinuousDeployment
continuous-delivery-fallback-tag: ''
next-version: 0.4.8
branches:
  master:
    mode: ContinuousDeployment
    tag: ''
ignore:
  sha: []

Even though the variable is named continuous-delivery it is used on continuous deployment…