tasks/gem/gem.rb in new-0.0.2 vs tasks/gem/gem.rb in new-0.0.3

- old
+ new

@@ -33,12 +33,10 @@ # bump version bump_version get_part # set new version to config project_options[:version] = version.to_s - - New.say "Releasing `#{project_options[:project_name]}` gem version `#{project_options[:version]}`" end def validate_files GLOB_ATTRIBUTES.each do |file_attr| next if @gemspec[file_attr].nil? @@ -116,7 +114,10 @@ def deploy `gem update --system` `gem build .gemspec` `gem push #{@gemspec[:name]}-#{@gemspec[:version]}.gem` + FileUtils.rm_rf "#{@gemspec[:name]}-#{@gemspec[:version]}.gem" + + New.say "#{@gemspec[:name]}-#{@gemspec[:version]} released".green end end