diff --git a/bin/release b/bin/release index 766e2c548..53f0b452b 100755 --- a/bin/release +++ b/bin/release @@ -91,7 +91,7 @@ build() { sed -i "/SCRIPT_VERSION=/ c\SCRIPT_VERSION=\"$VERSION\"" ./scope make SUDO=$SUDO SCOPE_VERSION=$VERSION DOCKERHUB_USER=$DOCKERHUB_USER - if make tests; then + if $(go list -e -f {{.Dir}} github.com/weaveworks/tools)/test; then echo -e '\u2713 Tests pass' else echo -e "\u2757 Tests failed, probably best not publish this one" >&2