lib/semvergen/shell.rb in semvergen-1.4.0 vs lib/semvergen/shell.rb in semvergen-1.4.3
- old
+ new
@@ -45,9 +45,13 @@
def publish(gem_name, version, gem_server)
execute "gem inabox #{gem_name}-#{version}.gem --host #{gem_server}"
end
+ def cleanup(gem_name, version)
+ execute "rm #{gem_name}-#{version}.gem"
+ end
+
private
def execute(command)
@execute_function[command]
end
\ No newline at end of file