rename gem creation to "package" instead of "build"
This commit is contained in:
parent
13ccf115ab
commit
2f5bcb24db
1 changed files with 3 additions and 3 deletions
6
Rakefile
6
Rakefile
|
@ -16,17 +16,17 @@ require "middleman-deploy/pkg-info"
|
||||||
PACKAGE = "#{Middleman::Deploy::PACKAGE}"
|
PACKAGE = "#{Middleman::Deploy::PACKAGE}"
|
||||||
VERSION = "#{Middleman::Deploy::VERSION}"
|
VERSION = "#{Middleman::Deploy::VERSION}"
|
||||||
|
|
||||||
task :build do
|
task :package do
|
||||||
system "gem build #{PACKAGE}.gemspec"
|
system "gem build #{PACKAGE}.gemspec"
|
||||||
end
|
end
|
||||||
|
|
||||||
task :install => :build do
|
task :install => :package do
|
||||||
Dir.chdir("pkg") do
|
Dir.chdir("pkg") do
|
||||||
system "gem install #{PACKAGE}-#{VERSION}"
|
system "gem install #{PACKAGE}-#{VERSION}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
task :release => :build do
|
task :release => :package do
|
||||||
Dir.chdir("pkg") do
|
Dir.chdir("pkg") do
|
||||||
system "gem push #{PACKAGE}-#{VERSION}"
|
system "gem push #{PACKAGE}-#{VERSION}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue