From 4d70a7d74182b70aa2e52fdcbeee27b3cc7d9192 Mon Sep 17 00:00:00 2001 From: Nathaniel Waisbrot Date: Wed, 11 May 2016 23:02:15 -0400 Subject: [PATCH] fix deploy script bug --- scripts/deploy-hex.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/deploy-hex.sh b/scripts/deploy-hex.sh index 459fd38..34d25bb 100755 --- a/scripts/deploy-hex.sh +++ b/scripts/deploy-hex.sh @@ -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 @@ -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