Skip to content

Commit

Permalink
Our ancient version of JRuby does not support noecho. No way to keep …
Browse files Browse the repository at this point in the history
…input from being displayed in terminal without upgrading it.
  • Loading branch information
titusfortner committed Jul 29, 2016
1 parent 5f3ee5a commit 5cbc386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ task :'publish-maven' => JAVA_RELEASE_TARGETS do |t|
t.prerequisites.each do |p|
if JAVA_RELEASE_TARGETS.include?(p)
puts "\n Enter Passphrase:"
passphrase = STDIN.noecho(&:gets).chomp
passphrase = STDIN.gets.chomp

creds = read_user_pass_from_m2_settings()
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])
Expand Down

1 comment on commit 5cbc386

@titusfortner
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukeis - this doesn't hide input from the terminal, is that an absolute requirement?

Please sign in to comment.