From 605b02063a407fb7cfa00e39552f4defeacc1b3f Mon Sep 17 00:00:00 2001 From: Stanley Feng Date: Wed, 4 May 2016 21:01:26 -0700 Subject: [PATCH] [release] mark 0.9.0 RC1 --- accumulo/pom.xml | 2 +- aerospike/pom.xml | 2 +- asynchbase/pom.xml | 2 +- .../datastore-specific-descriptor/pom.xml | 2 +- binding-parent/pom.xml | 2 +- cassandra/pom.xml | 2 +- cassandra2/pom.xml | 2 +- core/pom.xml | 2 +- couchbase/pom.xml | 2 +- couchbase2/pom.xml | 2 +- distribution/pom.xml | 2 +- dynamodb/pom.xml | 2 +- elasticsearch/pom.xml | 2 +- geode/pom.xml | 2 +- googlebigtable/pom.xml | 2 +- googledatastore/pom.xml | 2 +- hbase094/pom.xml | 2 +- hbase098/pom.xml | 2 +- hbase10/pom.xml | 2 +- hypertable/pom.xml | 2 +- infinispan/pom.xml | 2 +- jdbc/pom.xml | 2 +- kudu/pom.xml | 2 +- make_rc.sh | 43 +++++++++++++++++++ mapkeeper/pom.xml | 2 +- memcached/pom.xml | 2 +- mongodb/pom.xml | 2 +- nosqldb/pom.xml | 2 +- orientdb/pom.xml | 2 +- pom.xml | 2 +- redis/pom.xml | 2 +- riak/pom.xml | 2 +- s3/pom.xml | 2 +- solr/pom.xml | 2 +- tarantool/pom.xml | 2 +- voldemort/pom.xml | 2 +- 36 files changed, 78 insertions(+), 35 deletions(-) create mode 100755 make_rc.sh diff --git a/accumulo/pom.xml b/accumulo/pom.xml index 08da0af690..d638998b1a 100644 --- a/accumulo/pom.xml +++ b/accumulo/pom.xml @@ -22,7 +22,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent accumulo-binding diff --git a/aerospike/pom.xml b/aerospike/pom.xml index 97a3213e74..d882bdeb3e 100644 --- a/aerospike/pom.xml +++ b/aerospike/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/asynchbase/pom.xml b/asynchbase/pom.xml index cf4919075a..b84a739cf8 100644 --- a/asynchbase/pom.xml +++ b/asynchbase/pom.xml @@ -18,7 +18,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent/ diff --git a/binding-parent/datastore-specific-descriptor/pom.xml b/binding-parent/datastore-specific-descriptor/pom.xml index 840242e7f5..753d37866d 100644 --- a/binding-parent/datastore-specific-descriptor/pom.xml +++ b/binding-parent/datastore-specific-descriptor/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb root - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../../ diff --git a/binding-parent/pom.xml b/binding-parent/pom.xml index 0416208b2b..788aebe3a9 100644 --- a/binding-parent/pom.xml +++ b/binding-parent/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb root - 0.9.0-SNAPSHOT + 0.9.0-RC1 binding-parent diff --git a/cassandra/pom.xml b/cassandra/pom.xml index 274ed52645..e988f87f5f 100644 --- a/cassandra/pom.xml +++ b/cassandra/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/cassandra2/pom.xml b/cassandra2/pom.xml index 1a4b0ab6eb..f2bab41b59 100644 --- a/cassandra2/pom.xml +++ b/cassandra2/pom.xml @@ -23,7 +23,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/core/pom.xml b/core/pom.xml index 7a4cb94472..d0d67f402b 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb root - 0.9.0-SNAPSHOT + 0.9.0-RC1 core diff --git a/couchbase/pom.xml b/couchbase/pom.xml index 5f4780aa96..ee2edd876b 100644 --- a/couchbase/pom.xml +++ b/couchbase/pom.xml @@ -22,7 +22,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/couchbase2/pom.xml b/couchbase2/pom.xml index f152a856ef..5e9da42db3 100644 --- a/couchbase2/pom.xml +++ b/couchbase2/pom.xml @@ -23,7 +23,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/distribution/pom.xml b/distribution/pom.xml index 459b4db313..c0984508f8 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb root - 0.9.0-SNAPSHOT + 0.9.0-RC1 ycsb diff --git a/dynamodb/pom.xml b/dynamodb/pom.xml index 593371a649..a870fcb281 100644 --- a/dynamodb/pom.xml +++ b/dynamodb/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/elasticsearch/pom.xml b/elasticsearch/pom.xml index 8293fa82b7..359d2c08c9 100644 --- a/elasticsearch/pom.xml +++ b/elasticsearch/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/geode/pom.xml b/geode/pom.xml index e03b539112..514d71bcbb 100644 --- a/geode/pom.xml +++ b/geode/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/googlebigtable/pom.xml b/googlebigtable/pom.xml index 5e70aa4481..598326d408 100644 --- a/googlebigtable/pom.xml +++ b/googlebigtable/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent/ diff --git a/googledatastore/pom.xml b/googledatastore/pom.xml index 3d636a2d52..ea969b8749 100644 --- a/googledatastore/pom.xml +++ b/googledatastore/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/hbase094/pom.xml b/hbase094/pom.xml index ca7d4c60f6..7ddef21894 100644 --- a/hbase094/pom.xml +++ b/hbase094/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent/ diff --git a/hbase098/pom.xml b/hbase098/pom.xml index 29600f7f28..b052397b4a 100644 --- a/hbase098/pom.xml +++ b/hbase098/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent/ diff --git a/hbase10/pom.xml b/hbase10/pom.xml index 3f6bec078d..91df9856ec 100644 --- a/hbase10/pom.xml +++ b/hbase10/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent/ diff --git a/hypertable/pom.xml b/hypertable/pom.xml index 6c457f7277..2e31d8f92c 100644 --- a/hypertable/pom.xml +++ b/hypertable/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/infinispan/pom.xml b/infinispan/pom.xml index 943b1937e0..0669b44572 100644 --- a/infinispan/pom.xml +++ b/infinispan/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/jdbc/pom.xml b/jdbc/pom.xml index 6777033698..8a10bd7eed 100644 --- a/jdbc/pom.xml +++ b/jdbc/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/kudu/pom.xml b/kudu/pom.xml index f0d3088c06..cc64d14993 100644 --- a/kudu/pom.xml +++ b/kudu/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/make_rc.sh b/make_rc.sh new file mode 100755 index 0000000000..66ed579568 --- /dev/null +++ b/make_rc.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# +# Script to help generate a new release candidate. This assumes that +# the master branch is checked out and the working directory is clean. +# +# To confirm changes before checking them in, replace the -A option +# to "git add" below with -p. +# + +# Update the following two variables before running this script. +VERSION=0.9.0 +RC_NUM=1 + +RC_NUMBER=RC${RC_NUM} +NEXT_RC_NUMBER=RC$((${RC_NUM} + 1)) +RC_VERSION=${VERSION}-${RC_NUMBER} + +git checkout ${VERSION}-staging + +# Modify version string from SNAPSHOT to RC. +test $RC_NUM = 1 && FROM=${VERSION}-SNAPSHOT || FROM=${RC_VERSION}-SNAPSHOT +TO=$RC_VERSION + +FILES="`grep -rl -- -SNAPSHOT *`" + +echo "$FILES" | xargs sed -i "s/$FROM/$TO/" +git add -A +git commit -m "[release] mark ${VERSION} ${RC_NUMBER}" + +# Now create a tag that we can reference on GitHub. +git tag $RC_VERSION + +# Modify version string from RC to the next RC snapshot. Now fixes +# that come in during testing can be picked back here for files that +# need updating. +FROM=$RC_VERSION +TO=${VERSION}-${NEXT_RC_NUMBER}-SNAPSHOT +echo "$FILES" | xargs sed -i "s/$FROM/$TO/" +git add -A +git commit -m "[release] update version for ${NEXT_RC_NUMBER}" + +# Finally push all of this up to GitHub. +git push origin ${VERSION}-staging $RC_VERSION diff --git a/mapkeeper/pom.xml b/mapkeeper/pom.xml index 6fac3795c7..1bf66d12c5 100644 --- a/mapkeeper/pom.xml +++ b/mapkeeper/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/memcached/pom.xml b/memcached/pom.xml index 10bcbbe946..2609fda00a 100644 --- a/memcached/pom.xml +++ b/memcached/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/mongodb/pom.xml b/mongodb/pom.xml index f510d19aa2..58a1a13df7 100644 --- a/mongodb/pom.xml +++ b/mongodb/pom.xml @@ -22,7 +22,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/nosqldb/pom.xml b/nosqldb/pom.xml index e2823102e4..627b04cf97 100644 --- a/nosqldb/pom.xml +++ b/nosqldb/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/orientdb/pom.xml b/orientdb/pom.xml index db83a942d6..be475a5baf 100644 --- a/orientdb/pom.xml +++ b/orientdb/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/pom.xml b/pom.xml index 5bf267502f..bd9d9ab3d5 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb root - 0.9.0-SNAPSHOT + 0.9.0-RC1 pom YCSB Root diff --git a/redis/pom.xml b/redis/pom.xml index 65dbc50bf9..cb043968a8 100644 --- a/redis/pom.xml +++ b/redis/pom.xml @@ -21,7 +21,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/riak/pom.xml b/riak/pom.xml index da335adfd6..a98cc73826 100644 --- a/riak/pom.xml +++ b/riak/pom.xml @@ -23,7 +23,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/s3/pom.xml b/s3/pom.xml index d5726a4621..fdf032d804 100644 --- a/s3/pom.xml +++ b/s3/pom.xml @@ -19,7 +19,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/solr/pom.xml b/solr/pom.xml index 8253ea02db..43a9cab18c 100644 --- a/solr/pom.xml +++ b/solr/pom.xml @@ -23,7 +23,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent diff --git a/tarantool/pom.xml b/tarantool/pom.xml index acaea4ffc8..34c92568e8 100644 --- a/tarantool/pom.xml +++ b/tarantool/pom.xml @@ -22,7 +22,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent/ diff --git a/voldemort/pom.xml b/voldemort/pom.xml index f891a65a9f..e423b71034 100644 --- a/voldemort/pom.xml +++ b/voldemort/pom.xml @@ -22,7 +22,7 @@ LICENSE file. com.yahoo.ycsb binding-parent - 0.9.0-SNAPSHOT + 0.9.0-RC1 ../binding-parent