-
Notifications
You must be signed in to change notification settings - Fork 257
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
Deploy only from release branch #410
Conversation
OK, this is now ready for 👀 |
@jpreese @robkeim @ericnewton76 Could you have a look? I'd like to deploy 3.0 (#408) and would like to have this in (or out 😄) before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks good to me although I'm not a CI ninja.
Sorry to come late to this party. I've found to generate a release with a new tag is best. A new tag push indicates an actual release, and the release version is directly dictated by the tag. Triggering a release from a branch commit creates chicken and egg problem with the release version... Its difficult to lock down the actual release version without a tag. |
No worries for being a bit too late :) I don’t know if I understand what you describe as the chicken and egg problem. Version generation is driven solely by commit history (through So yes, we cannot „lock down“ the version, but to me that doesn’t seem to be important as long as we (and consumers) know what’s in the release. |
The overall idea I have is to trigger Nuget.org push and GitHub release creation by merging changes from
master
torelease
via a PR. This will reduce the number of GitHub releases and package versions on NuGet.org. Also I hope that AppVeyor will then be able to create release notes containing all changes since the latest release.Thoughts?