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

Issue-689 improve release guide for minor versions #777

Closed
wants to merge 1 commit into from

Conversation

eolivelli
Copy link
Contributor

No description provided.

@eolivelli
Copy link
Contributor Author

see #689 for description of changes

@eolivelli eolivelli requested a review from sijie November 25, 2017 10:14
@@ -234,21 +244,14 @@ Use Maven release plugin to create the release branch and update the current bra
> $ git reset --hard apache/<master branch OR release tag>
> $ git branch -D ${BRANCH_NAME}

However, if you are doing an incremental/hotfix release, please run the following command after checking out the release tag of the release being patched.
Copy link
Member

Choose a reason for hiding this comment

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

what to do for minor release?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sijie I thought that "incremental/hotfix" is a synonym for "minor"

Copy link
Member

Choose a reason for hiding this comment

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

yes. but my question is why do you removing the command below. They should be different commands, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for a minor (4.5.2) release you do not have to use that command, it will create a new branch, but it this case the branch is already here (branch-4.5 in my case)

Copy link
Member

Choose a reason for hiding this comment

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

okay make sense

@@ -378,10 +381,10 @@ Start the review-and-vote thread on the dev@ mailing list. Here’s an email tem
* All artifacts to be deployed to the Maven Central Repository [3]
* Source code tag "release-4.5.0" [4]

BookKeeper's KEY file contains PGP keys we use to sign this release:
BookKeeper's KEYS file contains PGP keys we used to sign this release:
Copy link
Member

Choose a reason for hiding this comment

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

why 'used'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just because while sending the email you have already signed the artifacts, it is on the past, maybe my English is not very good.
Maybe I can reword as
"BookKeeper's KEYS file contains PGP keys we use to sign this releases:"

@@ -447,6 +450,18 @@ Once all issues have been resolved, you should go back and build a new release c

Once the release candidate has been reviewed and approved by the community, the release should be finalized. This involves the final deployment of the release candidate to the release repositories, merging of the website changes, etc.

### Advance version on release branch
Copy link
Member

Choose a reason for hiding this comment

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

can't maven:release plugin handle this?

Copy link
Contributor Author

@eolivelli eolivelli Nov 27, 2017

Choose a reason for hiding this comment

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

AFAIK this is not done in the current procedure, in fact Jia for 4.6 release left the version to "4.6.0-SNAPSHOT" and I left it to "4.5.1-SNAPSHOT" and JV to "4.5.0-SNAPSHOT"
so some command is missing, or maybe there is another better way to bump version

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 mvn:release does bump the major version when creating the branch. I need to check out the commands.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

anyway in my example I am using the mvn release plugin with the "update-versions" mojo

Copy link
Contributor Author

@eolivelli eolivelli Nov 27, 2017

Choose a reason for hiding this comment

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

and after releasing 4.6.0 (major version) you should have 4.6.1-SNAPSHOT, maybe Jia and JV used the wrong command

Copy link
Member

@jiazhai jiazhai Dec 4, 2017

Choose a reason for hiding this comment

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

Right, as @sijie mentioned, it is create when we creating the branch, but seems version not bumped in the release target branch.

@jiazhai
Copy link
Member

jiazhai commented Nov 27, 2017

Overall LGTM. Since we have turn into github only, It is OK to remove all Jira related things in the documentation? @eolivelli @sijie

Copy link
Member

@jiazhai jiazhai left a comment

Choose a reason for hiding this comment

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

+1

@eolivelli
Copy link
Contributor Author

@jiazhai @ivankelly has another task to clean up the website from JIRA entirely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants