Skip to content

Commit 5cbc386

Browse files
committed
Our ancient version of JRuby does not support noecho. No way to keep input from being displayed in terminal without upgrading it.
1 parent 5f3ee5a commit 5cbc386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ task :'publish-maven' => JAVA_RELEASE_TARGETS do |t|
553553
t.prerequisites.each do |p|
554554
if JAVA_RELEASE_TARGETS.include?(p)
555555
puts "\n Enter Passphrase:"
556-
passphrase = STDIN.noecho(&:gets).chomp
556+
passphrase = STDIN.gets.chomp
557557

558558
creds = read_user_pass_from_m2_settings()
559559
Buck::buck_cmd.call('publish', ['--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', '--include-source', '--include-javadoc', '-u', creds[0], '-p', creds[1], '--signing-passphrase', passphrase, p])

0 commit comments

Comments
 (0)