Rakefile in cfer-0.1.3 vs Rakefile in cfer-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-require "bundler/gem_tasks"
+#require "bundler/gem_tasks"
gem 'cfer'
require 'cfer'
require 'highline'
Cfer::LOGGER.level = Logger::DEBUG
@@ -36,6 +36,22 @@
task :describe_instance => :config_aws do
Cfer.describe! 'instance'
end
task :converge => [:vpc, :instance]
+
+
+########################
+##### END OF DEMO ######
+########################
+
+
+# This task isn't really part of Cfer.
+# It just makes it easier for me to release new versions.
+task :release do
+ require_relative 'lib/cfer/version.rb'
+
+ `git checkout master`
+ `git merge develop --no-ff -m 'Merge from develop for release v#{Cfer::VERSION}'`
+ `git tag -m "Release v#{Cfer::VERSION}" #{Cfer::VERSION}`
+end