tasks/version.rb in chef-dk-2.0.26 vs tasks/version.rb in chef-dk-2.0.28
- old
+ new
@@ -1,7 +1,7 @@
#
-# Copyright:: Copyright (c) 2016 Chef Software Inc.
+# Copyright:: Copyright (c) 2016-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -96,13 +96,10 @@
"#{$1}#{new_version}"
end
puts "Updating version in #{version_rb_path} from #{version} to #{new_version.chomp}"
IO.write(version_rb_path, new_version_file)
IO.write(release_notes_path, "# ChefDK #{$2}.#{$3.to_i + 1} Release Notes")
- Rake::Task["changelog::archive"].invoke
- Rake::Task["version:update_gemfile_lock"].invoke
- Rake::Task["bundle:install"].invoke
end
# Can be deleted when we migrate fully to expeditor
desc "Bump the major version in lib/chef-dk/version.rb"
task :bump_major do
@@ -113,12 +110,9 @@
"#{$1}#{new_version}"
end
puts "Updating version in #{version_rb_path} from #{version} to #{new_version.chomp}"
IO.write(version_rb_path, new_version_file)
IO.write(release_notes_path, "# ChefDK #{$2.to_i + 1}.0 Release Notes")
- Rake::Task["changelog::archive"].invoke
- Rake::Task["version:update_gemfile_lock"].invoke
- Rake::Task["bundle:install"].invoke
end
# Called from .expeditor/update_version.sh
desc "Propogate the version from VERSION to the necessary parts of the repo"
task :update do