Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.
  2. 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.
  3. Fill in the release note (cut/paste)
  4. Be sure to check the "This is a pre-release" box.
  5. 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
languagebash
$ mvn release:perform

...


# This step will update Nexus with your release bits.

After running the release:perform  command,

  1. Log in to Nexus (https://repository.apache.org)

...

  1. Select Staging Repositories and find the repository with the name "orgapachepinot-{number}".
  2. Select that and click the "Close" button.

This will trigger to Nexus to do some checks on artifacts (checksum, signatures..etc). 

...


Note

...

...

NOTE

note
  • You will need the link to orgaapachepinot-{number} later on while sending out for votes, so keep the link open and handy
  1. Create a source/binary tarballs & Staging source and binary release tarballs

    Code Block
    languagebash
    $ 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>


  2. Validate the release that you built, using Validating a release candidate
  3. Commit the files to svn repository

...