mirror of
https://github.com/lostisland/faraday.git
synced 2025-12-10 00:04:51 -05:00
use system, not `
/cc @eric
This commit is contained in:
parent
9bcad6fb20
commit
7849079be4
@ -6,6 +6,7 @@ require File.expand_path("../ruby", __FILE__)
|
|||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
||||||
FileUtils.mkdir_p File.expand_path("../../pkg", __FILE__)
|
FileUtils.mkdir_p File.expand_path("../../pkg", __FILE__)
|
||||||
puts `script/gemspec`
|
system "script/gemspec"
|
||||||
puts `gem build #{MakeScript.gemspec_file}`
|
system "gem build #{MakeScript.gemspec_file}"
|
||||||
puts `mv #{MakeScript.gem_file} pkg`
|
system "mv #{MakeScript.gem_file} pkg"
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
require File.expand_path("../ruby", __FILE__)
|
require File.expand_path("../ruby", __FILE__)
|
||||||
|
|
||||||
puts `script/gem`
|
system "script/gem"
|
||||||
puts `git commit --allow-empty -a -m 'Release #{MakeScript.version}'`
|
system "git commit --allow-empty -a -m 'Release #{MakeScript.version}'"
|
||||||
puts `git tag v#{MakeScript.version}`
|
system "git tag v#{MakeScript.version}"
|
||||||
puts `git push origin`
|
system "git push origin"
|
||||||
puts `git push origin v#{MakeScript.version}`
|
system "git push origin v#{MakeScript.version}"
|
||||||
puts `gem push pkg/#{MakeScript.gem_file}`
|
system "gem push pkg/#{MakeScript.gem_file}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user