Fix entering OTP code when releasing gem
The code can't be entered when used with xargs
This commit is contained in:
parent
1b44d511a2
commit
f8334fcb0f
1 changed files with 3 additions and 1 deletions
|
|
@ -26,5 +26,7 @@ end
|
|||
|
||||
desc "Tags version, pushes to remote, and pushes gem"
|
||||
task release: :build do
|
||||
sh "ls pkg/diaspora_federation-*-*.gem | xargs -n 1 gem push"
|
||||
Dir["pkg/diaspora_federation-*-*.gem"].each do |gem|
|
||||
sh "gem push #{gem}"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue