Skip to content

Instantly share code, notes, and snippets.

@mefellows
Created August 6, 2014 13:31
Show Gist options
  • Save mefellows/5fd6697cf0bc064a2b2e to your computer and use it in GitHub Desktop.
Save mefellows/5fd6697cf0bc064a2b2e to your computer and use it in GitHub Desktop.
Scala - Travis CI Bintray Credentials Script
#!/bin/bash
mkdir ~/.bintray/
FILE=$HOME/.bintray/.credentials
cat <<EOF >$FILE
realm = Bintray API Realm
host = api.bintray.com
user = $BINTRAY_USER
password = $BINTRAY_API_KEY
EOF
echo $BINTRAY_USER
echo "Created ~/.bintray/.credentials file: Here it is: "
ls -la $FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment