Skip to content

Commit

Permalink
Added github to the list of known hosts in circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
jcague committed Jul 26, 2017
1 parent 445984a commit 4127783
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ GITHUB_URL="https://api.github.com/repos/lynckia/licode"
COMMIT=`git rev-list -n 1 HEAD`
SHORT_GIT_HASH=`echo ${COMMIT} | cut -c -7`

ssh-keyscan -H github.com >> ~/.ssh/known_hosts

curl -s -u ${GITHUB_OAUTH_USER}:${GITHUB_OAUTH_TOKEN} -X GET ${GITHUB_URL}/releases/tags/${VERSION} > /dev/null 2>&1
if [ $? -eq 1 ]; then
echo WARNING: No previous version found
Expand Down

0 comments on commit 4127783

Please sign in to comment.