Fixed release guide
diff --git a/src/site/markdown/release-guide.md b/src/site/markdown/release-guide.md
index 1388813..ae2ffaf 100644
--- a/src/site/markdown/release-guide.md
+++ b/src/site/markdown/release-guide.md
@@ -210,35 +210,15 @@
### Verify nexus release artifacts
-1. Verify the staged artifacts in the nexus repo
+1) Verify the staged artifacts in the nexus repo
- Go to [https://repository.apache.org/](https://repository.apache.org/) and login
- Under `Build Promotion`, click `Staging Repositories`
- In the `Staging Repositories` tab there should be a line with profile `org.apache.hivemall`
- Navigate through the artifact tree and make sure that all javadoc, sources, tests, and jars have .asc (GPG signature). Refer [the ASF page](http://www.apache.org/dev/release-signing.html#verifying-signature) for artifacts verification.
-2. Close the nexus staging repo
+
+2) Close the nexus staging repo
- Check the box on in the first column of the row, and press the ‘Close’ button to publish the repository at [https://repository.apache.org/content/repositories/orgapachehivemall-1001/](https://repository.apache.org/content/repositories/orgapachehivemall-1001/) (or a similar URL)
-### Attach signatures for shaded jars
-
-Shaded jars does not have signatures. So, attach signatures to them as follows:
-
-```sh
-cd target/
-
-# Sign to the artifacts created by maven-shade-plugin
-for f in `ls hivemall-*-with-dependencies*.jar`; do
- gpg --armor --output ${f}.asc --detach-sig ${f}
- shasum -a 512 ${f} | cut -f1 -d' ' > ${f}.sha512
-done
-
-# Verify GPG sign
-for file in `find . -type f -iname 'hivemall-*-with-dependencies*.jar.asc'`; do
- echo ${file}
- gpg --verify ${file}
- echo
-done
-```
-
### Upload the artifacts via subversion to a staging area
- Prepare release artifacts in SVN repository
@@ -263,9 +243,6 @@
# Put ChangeLog generated by JIRA
cp ~/Downloads/ChangeLog.html .
-# Put Shaded jars
-cp ~/incubator-hivemall/target/hivemall-*-with-dependencies*.jar* .
-
# Remove deprecated md5 and sha1
# See https://www.apache.org/dev/release-distribution.html#sigs-and-sums
@@ -274,7 +251,9 @@
# Add SHA-512 checksum
-for f in hivemall-0.5.2-incubating-site.xml hivemall-0.5.2-incubating-source-release.zip hivemall-0.5.2-incubating.pom; do
+ls *.xml *.zip *.pom
+
+for f in `ls *.xml *.zip *.pom`; do
shasum -a 512 ${f} | cut -f1 -d' ' > ${f}.sha512
ls ${f}.sha512
done
@@ -313,9 +292,9 @@
- The source tarball, including signatures, digests, ChangeLog, etc.:
https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/
- Sources for the release:
- https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/hivemall-0.5.0-incubating-rc1-source-release.zip
- https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/hivemall-0.5.0-incubating-rc1-source-release.zip.asc (PGP Signature)
- https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/hivemall-0.5.0-incubating-rc1-source-release.zip.sha512 (SHA512 Hash)
+ https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/hivemall-0.5.0-incubating-source-release.zip
+ https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/hivemall-0.5.0-incubating-source-release.zip.asc (PGP Signature)
+ https://dist.apache.org/repos/dist/dev/incubator/hivemall/0.5.0-incubating-rc1/hivemall-0.5.0-incubating-source-release.zip.sha512 (SHA512 Hash)
- Git tag for the release:
https://gitbox.apache.org/repos/asf?p=incubator-hivemall.git;a=shortlog;h=refs/tags/v0.5.0-rc1
- The Nexus Staging URL:
@@ -336,7 +315,7 @@
At lease three +1 from PPMC members are required and we welcome your vote!
-[ ] +1 approve (Release this package as Apache Hivemall 0.5.0-incubating-rc1)
+[ ] +1 approve (Release this package as Apache Hivemall 0.5.0-incubating)
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)
diff --git a/src/site/markdown/verify_artifacts.md b/src/site/markdown/verify_artifacts.md
index baeea50..2c302e5 100644
--- a/src/site/markdown/verify_artifacts.md
+++ b/src/site/markdown/verify_artifacts.md
@@ -92,7 +92,7 @@
# JDK 8 is required for packaging
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
-# Try to create artifacts
+# (Optional) TO avoid JVM errors in unit tests
export MAVEN_OPTS=-XX:MaxMetaspaceSize=256m
# (Optional) Workaround for SSL error `Received fatal alert: protocol_version`