aboutsummaryrefslogblamecommitdiff
path: root/admin/encryptEnvVars.sh
blob: b6256679841343d94ba411d6975d63c655da1526 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                  
#!/bin/bash
#
# Encrypt sonatype credentials so that they can be
# decrypted in trusted builds on Travis CI.
#
set -e

read -s -p 'SONA_USER: ' SONA_USER
travis encrypt SONA_USER="$SONA_USER"
read -s -p 'SONA_PASS: ' SONA_PASS
travis encrypt SONA_PASS="$SONA_PASS"