diff --git a/tasks/release.rake b/tasks/release.rake index 84f86f7..249478f 100644 --- a/tasks/release.rake +++ b/tasks/release.rake @@ -82,7 +82,7 @@ HEADER end stage('StageRelease', 'Stage the release') do - IO.write('_buildr.rb', "repositories.release_to = { :url => 'https://stocksoftware.jfrog.io/stocksoftware/staging'}") + IO.write('_buildr.rb', "repositories.release_to = { :url => 'https://stocksoftware.jfrog.io/stocksoftware/staging', :username => '#{ENV['STAGING_USERNAME']}', :password => '#{ENV['STAGING_PASSWORD']}' }") sh 'bundle exec buildr clean upload TEST=no GWT=no' sh 'rm -f _buildr.rb' end