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 release process #311

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Update release process #311

wants to merge 2 commits into from

Conversation

matthewpwilson
Copy link
Member

I'm also wondering if we should be tagging the master branch with each release so we know exactly what code went in to a release. However we might be able to tell from the commit that updated package.json i.e. everything before that must be in the release.

CONTRIBUTING.md Outdated Show resolved Hide resolved
Signed-off-by: matthewpwilson <[email protected]>
Signed-off-by: matthewpwilson <[email protected]>
@ChrisPark89
Copy link
Member

Not sure if tagging would help tracking the codes. Instead, we can leave the release/x.x.x branches in the main repo for that purpose.

- Note: if the only changes being made are to the documentation, do not update the version number. In this case the GitHub Pages site will be published when `master` is built, but no new version of the plug-in will be published.
5. Make a PR to merge your release brnach into `master`. The reviewer should make sure all commits are suitable to release and version number has been updated appropriately.
3. Create a release branch locally based on `master`.
Copy link
Member

Choose a reason for hiding this comment

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

I think only the collaborators or admins should manage the release branches and the branch should appear on the main repo so that it can allow hot fixes or doc changes just before the 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.

Hmm, why would you want to make any distinct changes in a release branch and not put them in dev first? They'll need to end up in dev eventually otherwise merging dev -> master will be a pain.

Copy link
Member

Choose a reason for hiding this comment

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

I think I am confused with our way and the original gitflow's one. Reading about the gitflow again, it works little bit different from how we've been working. It says when a new release occurs the release branch is made based on dev, then all fixes(not new features) from that time until the release go to the release branch. Then finally the release branch is merged into both dev and master.
I guess this way, we don't have to track back which commits have to be merged into release branch. Also master still remains a subset of dev.

- Note: if the only changes being made are to the documentation, do not update the version number. In this case the GitHub Pages site will be published when `master` is built, but no new version of the plug-in will be published.
5. Make a PR to merge your release brnach into `master`. The reviewer should make sure all commits are suitable to release and version number has been updated appropriately.
3. Create a release branch locally based on `master`.
Copy link
Member

Choose a reason for hiding this comment

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

I think I am confused with our way and the original gitflow's one. Reading about the gitflow again, it works little bit different from how we've been working. It says when a new release occurs the release branch is made based on dev, then all fixes(not new features) from that time until the release go to the release branch. Then finally the release branch is merged into both dev and master.
I guess this way, we don't have to track back which commits have to be merged into release branch. Also master still remains a subset of dev.

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.

3 participants