calcite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jh...@apache.org
Subject [2/3] calcite git commit: Document release process
Date Mon, 18 Jul 2016 19:26:59 GMT
Document release process

Change highlighting to work around https://github.com/jekyll/jekyll/issues/4448


Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/6955a03b
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/6955a03b
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/6955a03b

Branch: refs/heads/master
Commit: 6955a03b82f1237b09c3c69485783ba68254698a
Parents: c22628f
Author: Julian Hyde <jhyde@apache.org>
Authored: Wed Jul 6 11:26:37 2016 -0700
Committer: Julian Hyde <jhyde@apache.org>
Committed: Mon Jul 18 12:21:57 2016 -0700

----------------------------------------------------------------------
 site/_docs/adapter.md |  5 ++---
 site/_docs/howto.md   | 14 ++++++++------
 2 files changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/6955a03b/site/_docs/adapter.md
----------------------------------------------------------------------
diff --git a/site/_docs/adapter.md b/site/_docs/adapter.md
index 987538f..d7f4427 100644
--- a/site/_docs/adapter.md
+++ b/site/_docs/adapter.md
@@ -100,7 +100,7 @@ For example,
 
 makes a connection to the Cassandra adapter, equivalent to writing the following model file:
 
-```json
+{% highlight json %}
 {
   "version": "1.0",
   "defaultSchema": "foodmart",
@@ -116,7 +116,6 @@ makes a connection to the Cassandra adapter, equivalent to writing the
following
     }
   ]
 }
-
-```
+{% endhighlight %}
 
 Note how each key in the `operand` section appears with a `schema.` prefix in the connect
string.

http://git-wip-us.apache.org/repos/asf/calcite/blob/6955a03b/site/_docs/howto.md
----------------------------------------------------------------------
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index b31d985..6fa2a8f 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -486,8 +486,8 @@ read -s GPG_PASSPHRASE
 git clean -xn
 mvn clean
 
-# Do a dry run of the release:prepare step, which sets version numbers.
-mvn -DdryRun=true -DskipTests -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y.Z+1-SNAPSHOT
-Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE}" release:prepare 2>&1
| tee /tmp/prepare-dry.log
+# Do a dry run of the release:prepare step, which sets version numbers
+mvn -DdryRun=true -DskipTests -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y+1.Z-SNAPSHOT
-Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE}" release:prepare 2>&1
| tee /tmp/prepare-dry.log
 {% endhighlight %}
 
 Check the artifacts:
@@ -508,20 +508,22 @@ Check the artifacts:
 * That directory must contain files `NOTICE`, `LICENSE`,
   `README`, `README.md`
   * Check that the version in `README` is correct
+  * Check that the copyright year in `NOTICE` is correct
 * In each .jar (for example
   `core/target/calcite-core-X.Y.Z.jar` and
   `mongodb/target/calcite-mongodb-X.Y.Z-sources.jar`), check
   that the `META-INF` directory contains `DEPENDENCIES`, `LICENSE`,
   `NOTICE` and `git.properties`
-* In each .jar, check that `org-apache-calcite-jdbc.properties` is
+* In `core/target/calcite-core-X.Y.Z.jar`,
+  check that `org-apache-calcite-jdbc.properties` is
   present and does not contain un-substituted `${...}` variables
 * Check PGP, per [this](https://httpd.apache.org/dev/verification.html)
 
 Now, remove the `-DdryRun` flag and run the release for real.
 
 {% highlight bash %}
-# Prepare sets the version numbers, creates a tag, and pushes it to git.
-mvn -DdryRun=false -DskipTests -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y.Z+1-SNAPSHOT
-Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE}" release:prepare 2>&1
| tee /tmp/prepare.log
+# Prepare sets the version numbers, creates a tag, and pushes it to git
+mvn -DdryRun=false -DskipTests -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y+1.Z-SNAPSHOT
-Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE}" release:prepare 2>&1
| tee /tmp/prepare.log
 
 # Perform checks out the tagged version, builds, and deploys to the staging repository
 mvn -DskipTests -Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE}" release:perform
2>&1 | tee /tmp/perform.log
@@ -582,7 +584,7 @@ git reset --hard HEAD
 ## Validate a release
 
 {% highlight bash %}
-# Check that the signing key (e.g. 2AD3FAE3) is pushed
+# Check that the signing key (e.g. DDB6E9812AD3FAE3) is pushed
 gpg --recv-keys key
 
 # Check keys


Mime
View raw message