Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable provider updates #343

Conversation

JakeGinnivan
Copy link
Contributor

Pre-release tag calculated as unstable.4, and 5 commits since last tag

Continuous Delivery

"SemVer":"1.2.3-unstable.4"
"SemVer":"1.2.3",

Continuous Deployment

"SemVer":"1.2.3-unstable.5"
"SemVer":"1.2.3.5"

I can't think of anything else to do when the version is stable?

@JakeGinnivan
Copy link
Contributor Author

// @SimonCropp @andreasohlund @yannisgu @gep13

Have a look at the approval tests for all the variables

{
var oldPreReleaseNumber = semanticVersion.PreReleaseTag.Number;
semanticVersion.PreReleaseTag.Number = semanticVersion.BuildMetaData.CommitsSinceTag;
semanticVersion.BuildMetaData.CommitsSinceTag = oldPreReleaseNumber;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea of inverting PreReleaseTag and BuildMetaData numbers!

JakeGinnivan added a commit that referenced this pull request Jan 12, 2015
@JakeGinnivan JakeGinnivan merged commit 95e744e into GitTools:BranchSpecificConfiguration Jan 12, 2015
@JakeGinnivan JakeGinnivan deleted the VariableProviderUpdates branch January 12, 2015 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants