summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2016-12-07 09:05:15 -0600
committerTom Duffield <tom@chef.io>2016-12-07 09:05:15 -0600
commit8ec101864069d5ccb544601fd45388f49a713caf (patch)
treea727cbba73e589d3a3ea236ff626a2581404a7d7
parentd85a471ef715c5c0477121a7435de4f8513d848d (diff)
downloadchef-tduffield/add-url-to-announcement-template.tar.gz
Use new downloads.chef.io URLs for announcementstduffield/add-url-to-announcement-template
The product download pages now leverage predictable URLS, so our generators can leverage those to improve the download experience. Signed-off-by: Tom Duffield <tom@chef.io>
-rw-r--r--tasks/templates/prerelease.md.erb2
-rw-r--r--tasks/templates/release.md.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/tasks/templates/prerelease.md.erb b/tasks/templates/prerelease.md.erb
index da339ea590..82646e7485 100644
--- a/tasks/templates/prerelease.md.erb
+++ b/tasks/templates/prerelease.md.erb
@@ -9,7 +9,7 @@ We have selected <%= @version %> as our Chef v<%= @maj_minor %> release candidat
Please see the [CHANGELOG](https://github.com/chef/chef/blob/master/CHANGELOG.md) for the complete list of changes.
# Get the Build
-As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef-client) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
+As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/current/<%= @version %>) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
```shell
$ mixlib-install download chef -v <%= @version %> -c current
diff --git a/tasks/templates/release.md.erb b/tasks/templates/release.md.erb
index c4400ece59..080e77000a 100644
--- a/tasks/templates/release.md.erb
+++ b/tasks/templates/release.md.erb
@@ -9,7 +9,7 @@ We're happy to announce the release of Chef v<%= @maj_minor %>!
Please see the [CHANGELOG](https://github.com/chef/chef/blob/master/CHANGELOG.md) for the complete list of changes.
# Get the Build
-As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef-client) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
+As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/<%= @version %>) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
```shell
$ mixlib-install download chef -v <%= @version %>