Skip to content

Update gitversion #55

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

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Update gitversion #55

merged 1 commit into from
Jan 9, 2018

Conversation

forki
Copy link
Member

@forki forki commented Jan 9, 2018

No description provided.

paket.lock Outdated
@@ -878,4 +878,4 @@ GROUP Build
NUGET
remote: https://api.nuget.org/v3/index.json
FAKE (5.0.0-beta010)
GitVersion.CommandLine (3.6.5)
GitVersion.CommandLine (4.0.0-beta0012)

Choose a reason for hiding this comment

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

Is there something specific we need from the 4.0-pre chain? Why not stick with the stable release?

Copy link
Member Author

Choose a reason for hiding this comment

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

there is GitTools/GitVersion#1043 which suggested the Gitversion error was already fixed. So I tried that. but then I had different error

build.fsx Outdated
let version = { gitVersion with BuildMetaData = Fake.EnvironmentHelper.environVar "TRAVIS_JOB_NUMBER" }
version
else
{ gitVersion with BuildMetaData = "local" }

Choose a reason for hiding this comment

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

We can discuss whitespace all day long, and I don't have a strong enough preference to fight for it, but I do think that whitespace changes to big chunks of code like this should be isolated in its own PR, to make review of non-whitespace changes easier.

Choose a reason for hiding this comment

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

As an aside, did you make these changes with some formatting tool? If so, which one, and with what settings?

If there's a standard tool to use, and it's possible to save its settings in a file and check it in, we should do that. Then, every developer can just use the formatting tool before submitting a PR, and the code will automatically be styled the same across the repo.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's common practice in F# to do 4 blanks. I did not plan to merge it here, just needed another diff to kick the CI

@forki
Copy link
Member Author

forki commented Jan 9, 2018

now we have "Could not find a 'develop' or 'master' branch, neither locally nor remotely."

@tomasaschan
Copy link

GitTools/GitVersion#912 ?

@forki
Copy link
Member Author

forki commented Jan 9, 2018

It's green ;-)

@forki forki merged commit abad02d into master Jan 9, 2018
@forki forki deleted the gitversion branch January 9, 2018 08:26
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.

2 participants