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

Update projects to use new GitVersion.yml file #4

Open
gep13 opened this issue Apr 13, 2017 · 6 comments
Open

Update projects to use new GitVersion.yml file #4

gep13 opened this issue Apr 13, 2017 · 6 comments

Comments

@gep13
Copy link
Member

gep13 commented Apr 13, 2017

As suggested by @Jericho

@gep13
Copy link
Member Author

gep13 commented Apr 14, 2017

This is the suggestion:

mode: ContinuousDelivery
branches:
  releases?[/-]:
    mode: ContinuousDeployment
    tag: rc
  dev(elop)?(ment)?$:
    mode: ContinuousDeployment
    tag: alpha
  hotfix(es)?[/-]:
    mode: ContinuousDeployment
    tag: beta
ignore:
  sha: []

@Jericho
Copy link
Member

Jericho commented Apr 14, 2017

FYI: when we upgrade to GitVersion 4.0, the content of the yml file would need to be changed to:

mode: ContinuousDelivery
branches:
  release:
    regex: releases?[/-]
    mode: ContinuousDeployment
    tag: rc
  develop:
    regex: dev(elop)?(ment)?$
    mode: ContinuousDeployment
    tag: alpha
  hotfix:
    regex: hotfix(es)?[/-]
    mode: ContinuousDeployment
    tag: beta
ignore:
  sha: []

@pascalberger
Copy link
Member

Whats the reason to use different tags for release and hotfix branches? IMHO its confusing for the user if there is eg. 1.2.0-rc.1 but afterwards 1.2.1-beta.1.

@gep13
Copy link
Member Author

gep13 commented Apr 15, 2017

@pascalberger I am not sold on this part of the suggestion either. Having alpha from develop, and beta from release and hotfix also makes sense, then if you want to release an rc you can tag the hotfix or release branch with this name.

@gep13
Copy link
Member Author

gep13 commented Apr 17, 2017

@Jericho did you have any additional comments on this?

@Jericho
Copy link
Member

Jericho commented Apr 17, 2017

Only comment is that this setup works great in my projects that's why I recommend it.

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

No branches or pull requests

3 participants