...
- Draft the release notes in a text file (in markdown syntax) and keep it ready. You will need to cut-paste this in this step.
- The new tag created during the release-preparation step above will automatically show up on https://github.com/apache/incubator-pinot/release. Click "Draft a new release" button, put "tag version" as the one you used from the previous step (e.g. release-0.2.0-rc0). Change the branch field to your release branch.
- Fill in the release note (cut/paste)
- Be sure to check the "This is a pre-release" box.
- Publish the release.
...
Warning |
---|
Not checking the |
...
pre-release |
...
box in |
...
this step will violate Apache terms. |
...
...
Stage the release
In this step, you will publish the artifacts to "staging repository"
Code Block | ||
---|---|---|
| ||
$ mvn release:perform |
...
# This step will update Nexus with your release bits. |
After running the release:perform command,
- Log in to Nexus (https://repository.apache.org)
...
- Select Staging Repositories and find the repository with the name "orgapachepinot-{number}".
- Select that and click the "Close" button.
This will trigger to Nexus to do some checks on artifacts (checksum, signatures..etc).
...
Note |
---|
|
...
|
...
NOTE
|
Create a source/binary tarballs & Staging source and binary release tarballs
Code Block language bash $ cd <pinot_source_code_root_path> # Check out the release candidate tag $ git checkout tags/release-<version>-rc<rc_num> # Check git hash for the official release $ git log # Create the package $ mvn install -DskipTests -Papache-release,bin-dist $ cd pinot-distribution/target $ ls ... -rw-r--r-- 1 snlee eng 115915316 Mar 21 14:25 apache-pinot-incubating-0.1.0-bin.tar.gz -rw-r--r-- 1 snlee eng 490 Mar 21 14:25 apache-pinot-incubating-0.1.0-bin.tar.gz.asc -rw-r--r-- 1 snlee eng 128 Mar 21 14:26 apache-pinot-incubating-0.1.0-bin.tar.gz.sha512 -rw-r--r-- 1 snlee eng 37404419 Mar 21 14:25 apache-pinot-incubating-0.1.0-src.tar.gz -rw-r--r-- 1 snlee eng 490 Mar 21 14:25 apache-pinot-incubating-0.1.0-src.tar.gz.asc -rw-r--r-- 1 snlee eng 128 Mar 21 14:26 apache-pinot-incubating-0.1.0-src.tar.gz.sha512 ... # Copy files to the pinot-dev-dist $ mkdir /path/to/pinot-dev-dist/apache-pinot-incubating-<version>-rc<rc_num> $ cp apache-pinot-incubating-0.1.0-*.tar.gz* /pat/to/pinot-dev-dist/apache-pinot-incubating-<version>-rc<rc_num>
- Validate the release that you built, using Validating a release candidate
- Commit the files to svn repository
...