Merge pull request #221 from apache/minor_updates
Minor updates for the next release
diff --git a/datasketches-memory-java8/src/test/java/org/apache/datasketches/memory/internal/ResourceTest.java b/datasketches-memory-java8/src/test/java/org/apache/datasketches/memory/internal/ResourceTest.java
index 4b0703b..e9b498c 100644
--- a/datasketches-memory-java8/src/test/java/org/apache/datasketches/memory/internal/ResourceTest.java
+++ b/datasketches-memory-java8/src/test/java/org/apache/datasketches/memory/internal/ResourceTest.java
@@ -116,8 +116,9 @@
@Test
public void checkTypeDecode() {
- for (int i = 0; i < 128; i++) {
- ResourceImpl.typeDecode(i);
+ for (int i = 0; i < 256; i++) {
+ String str = ResourceImpl.typeDecode(i);
+ println(i + "\t" + str);
}
}
diff --git a/tools/scripts/sign-deploy-jar.sh b/tools/scripts/sign-deploy-jar.sh
index afacfd3..723c3ed 100755
--- a/tools/scripts/sign-deploy-jar.sh
+++ b/tools/scripts/sign-deploy-jar.sh
@@ -17,16 +17,22 @@
# specific language governing permissions and limitations
# under the License.
-# This is a general bash script to sign and deploy a datasketches-memory-X.jar.
-# This is intended to be used for releasing the Memory component to Maven central.
+# This is a general bash script to sign and deploy datasketches-memory-X.Y.Z.jars to Nexus.
+# This assumes that the jar files exist with X.Y.Z suffix in /target/
+# and were created by "mvn clean install".
+# Also the project.basedir must be set to the X.Y.X candidate at the correct git hash
+# and there must be an X.Y.Z tag at that git hash.
+
+# Even for release candidates, e.g. "-RCn", it is recommended to deploy the candidates
+# without the "-RCn". If the candidate succeeds, it is trivial just "release" them in Nexus.
+# If the candidate does not succeed, you can just "drop" them in Nexus for the next round.
# Required Input Parameters:
-# \$1 = Git Version Tag for this deployment
-# Example tag for SNAPSHOT : 1.0.0-SNAPSHOT
-# Example tag for Release Candidate: 1.0.0-RC1
-# Example tag for Release : 1.0.0
+# \$1 = Git Version Tag for this deployment (with -SNAPSHOT is OK, but rarely needed)
+# Example tag for Release : 1.0.0 //always use this form
# \$2 = absolute path of project.basedir
-# For example: $ <this script>.sh 2.1.0 .
+
+# For example, from the scripts directory: $ ./sign-deploy-jar.sh 3.0.0 ${project.basedir}
#### Extract GitTag, TestJar and ProjectBaseDir from input parameters ####
GitTag=$1