You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/12/23 14:20:16 UTC
[2/5] incubator-brooklyn git commit: Use Brooklyn version from
metadata if appropriate
Use Brooklyn version from metadata if appropriate
Responding to review comments. Prefer using {{
site.data.brooklyn.version }} instead of 0.7.0-M2-incubating in most
places - exceptions are where we are keeping metadata for specific
versions e.g. in the hash download links
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/1b262ec6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/1b262ec6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/1b262ec6
Branch: refs/heads/master
Commit: 1b262ec6930c84ca14852d6f58c2cc9e456be1a9
Parents: 7bcbfbe
Author: Richard Downer <ri...@apache.org>
Authored: Tue Dec 23 12:52:10 2014 +0000
Committer: Richard Downer <ri...@apache.org>
Committed: Tue Dec 23 12:52:10 2014 +0000
----------------------------------------------------------------------
docs/website/download.md | 10 +++++-----
docs/website/download/verify.md | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/1b262ec6/docs/website/download.md
----------------------------------------------------------------------
diff --git a/docs/website/download.md b/docs/website/download.md
index 21ae6a6..4cd5cdf 100644
--- a/docs/website/download.md
+++ b/docs/website/download.md
@@ -5,11 +5,11 @@ children:
- { path: download/verify.md }
---
-## Get the Brooklyn Source Code
+## Latest Brooklyn Source Code Release
-[Download Apache Brooklyn 0.7.0-M2-incubating from our mirror sites](https://www.apache.org/dyn/closer.cgi/incubator/brooklyn/0.7.0-M2-incubating/apache-brooklyn-0.7.0-M2-incubating.tar.gz)
+[Download Apache Brooklyn {{ site.data.brooklyn.version }} from our mirror sites](https://www.apache.org/dyn/closer.cgi/incubator/brooklyn/{{ site.data.brooklyn.version }}/apache-brooklyn-{{ site.data.brooklyn.version }}.tar.gz)
-You can also verify that you build has not been tampered with by [verifying the hashes and signatures](download/verify.md).
+You can also verify that you build has not been tampered with by [verifying the hashes and signatures](download/verify.html).
## Build the Binary Package
@@ -18,13 +18,13 @@ We do not yet have an official binary package for Apache Brooklyn. We plan to ad
it is relatively easy to create the binary package from source code, if you have a working JDK of at least version 6,
and Maven 3.
-Unpack `apache-brooklyn-0.7.0-M2-incubating.tar.gz` and then execute this command in the `apache-brooklyn-0.7.0-M2-incubating` folder:
+Unpack `apache-brooklyn-{{ site.data.brooklyn.version }}.tar.gz` and then execute this command in the `apache-brooklyn-{{ site.data.brooklyn.version }}` folder:
{% highlight bash %}
mvn clean install -DskipTests
{% endhighlight %}
-You can then find the binary distribution in the folder `usage/dist/target/brooklyn-dist`, or archived as `usage/dist/target/brooklyn-0.7.0-M2-incubator-dist.tar.gz`.
+You can then find the binary distribution in the folder `usage/dist/target/brooklyn-dist`, or archived as `usage/dist/target/brooklyn-{{ site.data.brooklyn.version }}-dist.tar.gz`.
## Get Started!
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/1b262ec6/docs/website/download/verify.md
----------------------------------------------------------------------
diff --git a/docs/website/download/verify.md b/docs/website/download/verify.md
index d4e6abe..0feb4db 100644
--- a/docs/website/download/verify.md
+++ b/docs/website/download/verify.md
@@ -33,14 +33,14 @@ You can verify the SHA1 or SHA256 hashes easily by placing the files in the same
then running `shasum`, which is included in most UNIX-like systems:
{% highlight bash %}
-shasum -c apache-brooklyn-0.7.0-M2-incubating.tar.gz.sha1
-shasum -c apache-brooklyn-0.7.0-M2-incubating.tar.gz.sha256
+shasum -c apache-brooklyn-{{ site.data.brooklyn.version }}.tar.gz.sha1
+shasum -c apache-brooklyn-{{ site.data.brooklyn.version }}.tar.gz.sha256
{% endhighlight %}
You can verify the MD5 hashes by running a command like this, and comparing the output to the contents of the `.md5` file:
{% highlight bash %}
-md5 apache-brooklyn-0.7.0-M2-incubating.tar.gz
+md5 apache-brooklyn-{{ site.data.brooklyn.version }}.tar.gz
{% endhighlight %}