Skip to content

Commit

Permalink
Merge pull request #1097 from kubamahnert/java-gem-release-raketask
Browse files Browse the repository at this point in the history
fix gem:release rake task for java release
  • Loading branch information
panjan authored Jan 30, 2018
2 parents d4e5e90 + 11f23a2 commit 2f082f2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ namespace :gem do
gem = "gooddata-#{GoodData::VERSION}.gem"

puts "Building #{gem} ..."
res = system('gem build ./gooddata.gemspec')
next unless res
res = `gem build ./gooddata.gemspec`
file = res.match('File: (.*)')[1]
next unless file

puts "Pushing #{gem} ..."
system("gem push #{gem}")
puts "Pushing #{file} ..."
system("gem push #{file}")
end
end

Expand Down

0 comments on commit 2f082f2

Please sign in to comment.