summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-03-11 16:56:34 -0700
committerTim Smith <tsmith@chef.io>2019-03-11 16:56:34 -0700
commit5adbc224c4c29600864719302030d46d11582894 (patch)
tree5c0b1f1dfe8f0f64b8a39c4890316aff294800b0
parent62c6ff31ea837b2b4c361e413191090fc9e4b4a7 (diff)
downloadchef-5adbc224c4c29600864719302030d46d11582894.tar.gz
Remove the rake task to generate a pre-announcement
We don't do pre-releases anymore so there's no point in doing this. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--tasks/announce.rb13
-rw-r--r--tasks/templates/prerelease.md.erb35
2 files changed, 3 insertions, 45 deletions
diff --git a/tasks/announce.rb b/tasks/announce.rb
index b6b701f04b..f8c026f466 100644
--- a/tasks/announce.rb
+++ b/tasks/announce.rb
@@ -45,14 +45,7 @@ class ReleaseAnnouncement
end
end
-namespace :announce do
- desc "Generate the Prerelease Announcement (version: X.Y.Z, release_date: YYYY-MM-DD)"
- task :prerelease, :version, :release_date do |t, args|
- ReleaseAnnouncement.new(args[:version], args[:release_date], "prerelease").render
- end
-
- desc "Generate the Release Announcement (version: X.Y.Z)"
- task :release, :version do |t, args|
- ReleaseAnnouncement.new(args[:version], nil, "release").render
- end
+desc "Generate the Release Announcement (version: X.Y.Z)"
+task :announce_release, :version do |t, args|
+ ReleaseAnnouncement.new(args[:version], nil, "release").render
end
diff --git a/tasks/templates/prerelease.md.erb b/tasks/templates/prerelease.md.erb
deleted file mode 100644
index cab7f11fff..0000000000
--- a/tasks/templates/prerelease.md.erb
+++ /dev/null
@@ -1,35 +0,0 @@
-Ohai Chefs!
-
-We have selected <%= @version %> as our Chef v<%= @maj_minor %> release candidate which is scheduled for release on <%= @date.strftime('%A %B %-d, %Y') %>.
-
-# Release Highlights
-
-<%= @release_notes %>
-
-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/current/<%= @version %>) or by using the `mixlib-install` command line utility:
-
-```shell
-$ mixlib-install download chef -v <%= @version %> -c current
-```
-
-Alternatively, you can install Chef using one of the following command options:
-
-```shell
-# In Shell
-$ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @version %> -c current
-
-# In Windows PowerShell
-. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %> -channel current
-```
-
-If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file:
-
-```yaml
-provisioner:
- product_name: chef
- channel: current
- product_version: <%= @version %>
-```