Skip to content

Commit

Permalink
Add encrypted credentials for publishing snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
farmdawgnation committed Nov 21, 2015
1 parent 11f22db commit 2daec9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .credentials.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
|�y���#�D�N��Nb�"*����6?0��'EWN�X0$+��O�bR#����o��xq�V���c�N�@&KhF��=#���5��@4ZY��Mt��j:,�Z�ϡ�x
Expand Down
4 changes: 4 additions & 0 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -ev
./liftsh test

if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
openssl aes-256-cbc -K $encrypted_a177bbd76133_key -iv $encrypted_a177bbd76133_iv -in .credentials.enc -out ~/.credentials -d

if [ "${TRAVIS_BRANCH}" = "master" ]; then
./liftsh publish
fi
Expand All @@ -13,4 +15,6 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
./liftsh ++2.10.4 "project lift-framework-pre-111" publish
./liftsh ++2.11.1 publish
fi

rm ~/.credentials
fi

0 comments on commit 2daec9c

Please sign in to comment.