Versions Compared

Key

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

...

Note
If you are uncomfortable placing your password in cleartextclear text in the settings.xml file, you can use http://maven.apache.org/guides/mini/guide-encryption.html. This seems to work fine, at least with maven 3.6.2 (might work with earlier releases as well)

...

Before executing the step below, this page is a useful read these pages:

...

After run this, log in to Nexus (https://repository.apache.org) and 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).  Check https://repository.apache.org/content/repositories/orgapachepinot-{number} shows correctly.

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

...