From 59c180038d05ac18110ae51765f60ae9893b2c6a Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Wed, 14 Feb 2018 14:23:59 +0100 Subject: [PATCH] travis is linux not macos --- scripts/prepare-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare-release.sh b/scripts/prepare-release.sh index 2aa625d6b37..6f405fa5aee 100755 --- a/scripts/prepare-release.sh +++ b/scripts/prepare-release.sh @@ -9,7 +9,7 @@ mkdir -p $RELEASE_DIR if [[ -n $TRAVIS_TAG ]]; then echo "Checking if ocdev version was set to the same version as current tag" # use sed to get only semver part - bin_version=$(${BIN_DIR}/darwin-amd64/ocdev version | sed 's/ .*//g') + bin_version=$(${BIN_DIR}/linux-amd64/ocdev version | sed 's/ .*//g') if [ "$TRAVIS_TAG" == "v${bin_version}" ]; then echo "OK: ocdev version output is matching current tag" else