Fix -SNAPSHOT reference on home page (cherry picked from commit b835145462b0456dda38ddbc9bc4dad8398c0e02)
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/2ff1daa9 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/2ff1daa9 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/2ff1daa9 Branch: refs/heads/0.11.x Commit: 2ff1daa9f941942b4f29324a48b1e4c03f172053 Parents: 7fb0b07 Author: Richard Downer <[email protected]> Authored: Thu May 18 15:01:27 2017 +0100 Committer: Richard Downer <[email protected]> Committed: Wed May 31 15:33:35 2017 +0100 ---------------------------------------------------------------------- website/index.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/2ff1daa9/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>
