...
Code Block |
---|
mvn clean verify package mv sentry-dist/target/apache-sentry-1.2.0-incubating-src.tar.gz /tmp/sentry-release-preparations |
Sanity Check
...
Check out the candidate
Code Block git checkout release-X.Y.Z
Generate a tarball
Code Block mvn clean install -DskipTests
Unpack the source tarball
Code Block cd sentry-dist/target rm -rf ./apache-sentry-1.2.0-incubating-src tar xzvf apache-sentry-1.2.0-incubating-src.tar.gz
Do another full build inside the source tarball. This time, allow all unit tests & integration tests to run and also include the docs
Code Block mvn clean install -DskipTestscd apache-sentry-1.2.0-incubating-srcmvn test
Signatures and Checksums
All artifacts must be signed and checksummed. In order to sign a release you will need a PGP key. You should get your key signed by a few other people. You will also need to recv their keys from a public key server. See the Apache release signing page for more details. If you add your PGP key fingerprint to your Apache profile, your key should automatically be added to https://people.apache.org/keys/group/sentry.asc
...