Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
fix deploy script bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Waisbrot committed May 12, 2016
1 parent c4ae0eb commit 4d70a7d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scripts/deploy-hex.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#!/bin/sh -ex

if [[ $TRAVIS_OTP_RELEASE != "18.2" ]]; then
echo Skipping deploy for this OTP release version
exit 0
fi
#!/bin/bash -ex

echo Create directories
mkdir -p ~/.hex
Expand All @@ -21,6 +16,6 @@ echo Edit version tag in app.src
vi -e -c '%s/{vsn, *.*}/{vsn, "'${TRAVIS_TAG}'"}/g|w|q' src/dogstatsd.app.src

echo Publish to Hex
echo 'Y' | ./vendor/rebar hex publish
echo 'Y' | ./vendor/rebar3 hex publish

echo Done

0 comments on commit 4d70a7d

Please sign in to comment.