lib/autowow/features/gem.rb in autowow-0.11.1 vs lib/autowow/features/gem.rb in autowow-0.11.2

- old
+ new

@@ -17,11 +17,10 @@ logger.error("Not on master.") and return unless start_branch.eql?("master") pretty.run(pull) version = nil if version_bump - version = pretty_with_output.run(bump(version_bump)).out.clean_lines - .select { |line| line.match(/Bumping/) }.split(" ").last + version = pretty_with_output.run(bump(version_bump)).out.clean_lines.select { |line| line.match(/Bumping/) }.first.split(" ").last bump_readme_version_information(version) pretty.run(add(["README.md", "*version.rb"])) pretty.run(commit("Bumps version to v#{version}")) end