brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rich...@apache.org
Subject brooklyn-docs git commit: Fix -SNAPSHOT reference on home page
Date Thu, 18 May 2017 14:02:01 GMT
Repository: brooklyn-docs
Updated Branches:
  refs/heads/master af08f73ac -> b83514546


Fix -SNAPSHOT reference on home page


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/b8351454
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/b8351454
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/b8351454

Branch: refs/heads/master
Commit: b835145462b0456dda38ddbc9bc4dad8398c0e02
Parents: af08f73
Author: Richard Downer <richard@apache.org>
Authored: Thu May 18 15:01:27 2017 +0100
Committer: Richard Downer <richard@apache.org>
Committed: Thu May 18 15:01:27 2017 +0100

----------------------------------------------------------------------
 website/index.md | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/b8351454/website/index.md
----------------------------------------------------------------------
diff --git a/website/index.md b/website/index.md
index d3467dc..2bc26c4 100644
--- a/website/index.md
+++ b/website/index.md
@@ -110,12 +110,9 @@ View and modify using the *web console* or automate using the *REST API*
             <span>bash</span>
           </div>
 {% highlight bash %}
-{% if site.brooklyn-version contains 'SNAPSHOT' %}
-curl -SL --output apache-brooklyn-{{site.brooklyn-version}}-vagrant.tar.gz "https://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.brooklyn&a=brooklyn-vagrant&v={{site.brooklyn-version}}&c=dist&e=zip"
-{% else %}
-curl -SL --output apache-brooklyn-{{site.brooklyn-version}}-vagrant.tar.gz "https://www.apache.org/dyn/closer.lua?action=download&filename=brooklyn/apache-brooklyn-{{site.brooklyn-version}}/apache-brooklyn-{{site.brooklyn-version}}-vagrant.tar.gz"
-{% endif %}tar xvf apache-brooklyn-{{site.brooklyn-version}}-vagrant.tar.gz
-cd apache-brooklyn-{{site.brooklyn-version}}-vagrant
+curl -SL --output apache-brooklyn-{{site.brooklyn-stable-version}}-vagrant.tar.gz "https://www.apache.org/dyn/closer.lua?action=download&filename=brooklyn/apache-brooklyn-{{site.brooklyn-stable-version}}/apache-brooklyn-{{site.brooklyn-stable-version}}-vagrant.tar.gz"
+tar xvf apache-brooklyn-{{site.brooklyn-stable-version}}-vagrant.tar.gz
+cd apache-brooklyn-{{site.brooklyn-stable-version}}-vagrant
 vagrant up brooklyn
 {% endhighlight %}
         </div>


Mime
View raw message