Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
The release task that uploads gems to GH now correctly upload the pre…
Browse files Browse the repository at this point in the history
…view release gems.
  • Loading branch information
trevorrowe committed Sep 29, 2014
1 parent 3b6b957 commit f274960
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/github.rake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ task 'github:release' do
:content_type => 'application/octet-stream')

$GEM_NAMES.each do |gem_name|
gh.upload_asset(release.url, "#{gem_name}-#{version}.gem",
suffix = '.pre' unless gem_name == 'aws-sdk-core'
gh.upload_asset(release.url, "#{gem_name}-#{version}#{suffix}.gem",
:content_type => 'application/octet-stream')
end

Expand Down

0 comments on commit f274960

Please sign in to comment.