lib/tasks/pb_release.rake in playbook_ui-2.9.8 vs lib/tasks/pb_release.rake in playbook_ui-2.9.9
- old
+ new
@@ -2,11 +2,10 @@
namespace :pb_release do
desc "Update the version number in preparation to release"
task version: :environment do
old_version = Playbook::VERSION
- new_version = ""
STDOUT.puts "What would you like the next release number to be? Currently #{old_version}"
new_version = STDIN.gets.chomp
puts "Ok great, let's make version #{new_version}"
puts "\n\n"
@@ -52,10 +51,9 @@
puts "\nPushing to NPM..."
`npm publish`
# Tags
puts "\nPushed to NPM. Now lets create a tag..."
- description = ""
puts "\nWrite a brief tag release description. You can edit this later on GitHub."
description = STDIN.gets.chomp
puts "\nCreating Tag..."
`git tag -a #{version} -m "#{description}"`
puts "\nPushing Tag to GitHub..."