mirror of
https://github.com/lostisland/faraday.git
synced 2025-12-09 00:02:49 -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'
|
||||
|
||||
FileUtils.mkdir_p File.expand_path("../../pkg", __FILE__)
|
||||
puts `script/gemspec`
|
||||
puts `gem build #{MakeScript.gemspec_file}`
|
||||
puts `mv #{MakeScript.gem_file} pkg`
|
||||
system "script/gemspec"
|
||||
system "gem build #{MakeScript.gemspec_file}"
|
||||
system "mv #{MakeScript.gem_file} pkg"
|
||||
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
|
||||
require File.expand_path("../ruby", __FILE__)
|
||||
|
||||
puts `script/gem`
|
||||
puts `git commit --allow-empty -a -m 'Release #{MakeScript.version}'`
|
||||
puts `git tag v#{MakeScript.version}`
|
||||
puts `git push origin`
|
||||
puts `git push origin v#{MakeScript.version}`
|
||||
puts `gem push pkg/#{MakeScript.gem_file}`
|
||||
system "script/gem"
|
||||
system "git commit --allow-empty -a -m 'Release #{MakeScript.version}'"
|
||||
system "git tag v#{MakeScript.version}"
|
||||
system "git push origin"
|
||||
system "git push origin v#{MakeScript.version}"
|
||||
system "gem push pkg/#{MakeScript.gem_file}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user