Merge pull request #1336 from hashicorp/sethvargo/releases
Use releases for pulling binaries
This commit is contained in:
commit
5ac45317d6
|
@ -1,5 +1,5 @@
|
||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
ruby "2.2.3"
|
ruby "2.2.2"
|
||||||
|
|
||||||
gem "middleman-hashicorp", github: "hashicorp/middleman-hashicorp"
|
gem "middleman-hashicorp", github: "hashicorp/middleman-hashicorp"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
GIT
|
GIT
|
||||||
remote: git://github.com/hashicorp/middleman-hashicorp.git
|
remote: git://github.com/hashicorp/middleman-hashicorp.git
|
||||||
revision: b152b6436348e8e1f9990436228b25b4c5c6fcb8
|
revision: 15cbda0cf1d963fa71292dee921229e7ee618272
|
||||||
specs:
|
specs:
|
||||||
middleman-hashicorp (0.1.0)
|
middleman-hashicorp (0.2.0)
|
||||||
bootstrap-sass (~> 3.3)
|
bootstrap-sass (~> 3.3)
|
||||||
builder (~> 3.2)
|
builder (~> 3.2)
|
||||||
less (~> 2.6)
|
less (~> 2.6)
|
||||||
|
@ -79,7 +79,7 @@ GEM
|
||||||
kramdown (1.9.0)
|
kramdown (1.9.0)
|
||||||
less (2.6.0)
|
less (2.6.0)
|
||||||
commonjs (~> 0.2.7)
|
commonjs (~> 0.2.7)
|
||||||
libv8 (3.16.14.11)
|
libv8 (3.16.14.13)
|
||||||
listen (3.0.3)
|
listen (3.0.3)
|
||||||
rb-fsevent (>= 0.9.3)
|
rb-fsevent (>= 0.9.3)
|
||||||
rb-inotify (>= 0.9)
|
rb-inotify (>= 0.9)
|
||||||
|
|
|
@ -5,21 +5,9 @@
|
||||||
set :base_url, "https://www.consul.io/"
|
set :base_url, "https://www.consul.io/"
|
||||||
|
|
||||||
activate :hashicorp do |h|
|
activate :hashicorp do |h|
|
||||||
h.version = "0.5.2"
|
h.name = "consul"
|
||||||
h.bintray_enabled = ENV["BINTRAY_ENABLED"]
|
h.version = "0.5.2"
|
||||||
h.bintray_repo = "mitchellh/consul"
|
h.github_slug = "hashicorp/consul"
|
||||||
h.bintray_user = "mitchellh"
|
|
||||||
h.bintray_key = ENV["BINTRAY_API_KEY"]
|
|
||||||
h.github_slug = "hashicorp/consul"
|
|
||||||
|
|
||||||
# Do not include the "web" in the default list of packages
|
|
||||||
h.bintray_exclude_proc = Proc.new do |os, filename|
|
|
||||||
os == "web"
|
|
||||||
end
|
|
||||||
|
|
||||||
# Consul packages are not prefixed with consul_ - they should be in the
|
|
||||||
# future though!
|
|
||||||
h.bintray_prefixed = false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
helpers do
|
helpers do
|
||||||
|
|
|
@ -9,47 +9,59 @@ description: |-
|
||||||
<h1>Download Consul</h1>
|
<h1>Download Consul</h1>
|
||||||
|
|
||||||
<section class="downloads">
|
<section class="downloads">
|
||||||
<div class="description row">
|
<div class="description row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<p>
|
<p>
|
||||||
Below are all available downloads for the latest version of Consul
|
Below are the available downloads for the latest version of Consul
|
||||||
(<%= latest_version %>). Please download the proper package for your
|
(<%= latest_version %>). Please download the proper package for your
|
||||||
operating system and architecture. You can find SHA256 checksums
|
operating system and architecture.
|
||||||
for packages <a href="https://dl.bintray.com/mitchellh/consul/<%= latest_version %>_SHA256SUMS?direct">here</a>.
|
</p>
|
||||||
</p>
|
<p>
|
||||||
</div>
|
You can find the
|
||||||
</div>
|
<a href="https://releases.hashicorp.com/consul/<%= latest_version %>/consul_<%= latest_version %>_SHA256SUMS">
|
||||||
|
SHA256 checksums for Consul <%= latest_version %>
|
||||||
|
</a>
|
||||||
|
online and you can
|
||||||
|
<a href="https://releases.hashicorp.com/consul/<%= latest_version %>/consul_<%= latest_version %>_SHA256SUMS.sig">
|
||||||
|
verify the checksums signature file
|
||||||
|
</a>
|
||||||
|
which has been signed using <a href="https://hashicorp.com/security.html" target="_TOP">HashiCorp's GPG key</a>.
|
||||||
|
You can also <a href="https://releases.hashicorp.com/consul" target="_TOP">download older versions of Consul</a> from the releases service.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 download center">
|
<div class="col-md-12 download center">
|
||||||
<a href="https://dl.bintray.com/mitchellh/consul/<%= latest_version %>_web_ui.zip" class="btn btn-lg btn-default">
|
<a href="https://releases.hashicorp.com/consul/<%= latest_version %>/consul_<%= latest_version %>_web_ui.zip" class="btn btn-lg btn-default">
|
||||||
Download Consul Web UI
|
Download Consul Web UI
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% product_versions.each do |os, versions| %>
|
<% product_versions.each do |os, arches| %>
|
||||||
<div class="row">
|
<% next if os == "web" %>
|
||||||
<div class="col-md-12 download">
|
<div class="row">
|
||||||
<div class="icon pull-left"><%= system_icon(os) %></div>
|
<div class="col-md-12 download">
|
||||||
<div class="details">
|
<div class="icon pull-left"><%= system_icon(os) %></div>
|
||||||
<h2 class="os-name"><%= os %></h2>
|
<div class="details">
|
||||||
<ul>
|
<h2 class="os-name"><%= pretty_os(os) %></h2>
|
||||||
<% versions.each do |url| %>
|
<ul>
|
||||||
<li><a href="<%= url %>"><%= arch_for_filename(url) %></a></li>
|
<% arches.each do |arch, url| %>
|
||||||
<% end %>
|
<li><a href="<%= url %>"><%= pretty_arch(arch) %></a></li>
|
||||||
</ul>
|
<% end %>
|
||||||
<div class="clearfix"></div>
|
</ul>
|
||||||
</div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 poweredby">
|
<div class="col-md-12 poweredby">
|
||||||
<a href='http://www.bintray.com'>
|
<a href="https://www.fastly.com?utm_source=hashicorp" target="_TOP">
|
||||||
<img src="https://www.bintray.com/docs/images/poweredByBintray_ColorTransparent.png">
|
<%= image_tag "fastly_logo.png" %>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue