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

Init improvements #479

Merged
merged 9 commits into from
Jun 25, 2015
Merged

Conversation

JakeGinnivan
Copy link
Contributor

Looks like this:

$ gitversion init
GitVersion init will guide you through setting GitVersion up to work for you

Which would you like to change?

0) Save changes and exit
1) Exit without saving

2) Run getting started wizard

3) Branch specific configuration
4) Branch Increment mode (per commit/after tag) (Current: ContinuousDelivery)
5) Assembly versioning scheme (Current: MajorMinorPatch)
6) Setup build scripts

> 6

What build server are you using?

Want to see more? Contribute a pull request!

0) Back
1) AppVeyor

> 1

GitVersion doesn't support modifying existing appveyor config files. We will generate appveyor.gitversion.yml instead

What sort of config template would you like generated?

0) Back
1) Generate basic (gitversion + msbuild) configuration
2) Generate with NuGet package publish

> 2
INFO [06/21/15 12:40:07:17] AppVeyor sample config file written to D:\_code\shouldly\appveyor.gitversion.yml

@JakeGinnivan
Copy link
Contributor Author

// @gep13 what do you think?

void GenerateBasicConfig(string workingDirectory, IFileSystem fileSystem)
{
WriteConfig(workingDirectory, fileSystem, @"install:
- choco install gitversion.portable -pre
Copy link
Member

Choose a reason for hiding this comment

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

Just to check... Are you aware that on the latest version of Chocolatey, this is no longer a silent operation, the user will be prompted whether they want to continue with the installation or not. As a result, we might want to include the -y parameter, so automatically proceed with the installation.

@gep13
Copy link
Member

gep13 commented Jun 22, 2015

Just a couple comments, but overall, looks really good to me! 😄

JakeGinnivan added a commit that referenced this pull request Jun 25, 2015
@JakeGinnivan JakeGinnivan merged commit ed9878c into GitTools:release/3.0.0 Jun 25, 2015
@JakeGinnivan JakeGinnivan deleted the InitImprovements branch June 25, 2015 20:24
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