Skip to content

Commit

Permalink
Merge pull request #91 from kadel/fix-version-test
Browse files Browse the repository at this point in the history
travis is linux not macos
  • Loading branch information
kadel authored Feb 14, 2018
2 parents 8d56bb3 + 59c1800 commit f71b16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f71b16c

Please sign in to comment.