Commit 97097991 authored by zeke's avatar zeke

use the right path to the semver binary

parent eafebb02
...@@ -25,7 +25,7 @@ cd $BUILD_DIR ...@@ -25,7 +25,7 @@ cd $BUILD_DIR
DESIRED_VERSION=$(cat $BUILD_DIR/package.json | node $HOME/vendor/json engines.node 2>/dev/null) DESIRED_VERSION=$(cat $BUILD_DIR/package.json | node $HOME/vendor/json engines.node 2>/dev/null)
echo "DESIRED_VERSION: $DESIRED_VERSION" echo "DESIRED_VERSION: $DESIRED_VERSION"
if [ "$DESIRED_VERSION" != "" ] if [ "$DESIRED_VERSION" != "" ]
SATISFIED_VERSION=$(./semver $DEFAULT_VERSION -r $DESIRED_VERSION) SATISFIED_VERSION=$(node $HOME/vendor/semver/bin/semver $DEFAULT_VERSION -r $DESIRED_VERSION)
echo "SATISFIED_VERSION: $SATISFIED_VERSION" echo "SATISFIED_VERSION: $SATISFIED_VERSION"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment