summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/Rakefile b/Rakefile
index f6e6758820..2ec934c432 100644
--- a/Rakefile
+++ b/Rakefile
@@ -27,9 +27,7 @@ require_relative "tasks/rspec"
require_relative "tasks/maintainers"
require_relative "tasks/cbgb"
require_relative "tasks/dependencies"
-require_relative "tasks/changelog"
require_relative "tasks/announce"
-require_relative "tasks/version"
ChefConfig::PackageTask.new(File.expand_path("..", __FILE__), "Chef", "chef") do |package|
package.component_paths = ["chef-config"]
@@ -51,15 +49,6 @@ task :register_eventlog do
end
end
-desc "Keep the Dockerfile up-to-date"
-task :update_dockerfile do
- require "mixlib/install"
- latest_stable_version = Mixlib::Install.available_versions("chef", "stable").last
- text = File.read("Dockerfile")
- new_text = text.gsub(/^ARG VERSION=[\d\.]+$/, "ARG VERSION=#{latest_stable_version}")
- File.open("Dockerfile", "w+") { |f| f.write(new_text) }
-end
-
begin
require "chefstyle"
require "rubocop/rake_task"