lib/mcrt.rb in mcrt-1.3.0 vs lib/mcrt.rb in mcrt-1.4.0
- old
+ new
@@ -102,12 +102,12 @@
puts e.backtrace.join("\n")
raise 'Failed to promote repository. Please visit the website https://oss.sonatype.org/index.html#stagingRepositories and manually complete the release.'
end
repositories = get_staging_repositories(profile_name, false)
while repositories.size == 1
- puts "Waiting for repository to be promoted..."
+ puts 'Waiting for repository to be promoted...'
sleep 1
- if repositories[0][:notifications] != 0
+ if repositories[0]['notifications'] != 0
raise 'Failed to promote repository. Please visit the website https://oss.sonatype.org/index.html#stagingRepositories and manually complete the release.'
end
repositories = get_staging_repositories(profile_name, false)
end
end