fixing bin/release

This commit is contained in:
Paul Bellamy
2015-08-19 10:19:19 +01:00
parent 6860d02a1a
commit fc75b3dc58

View File

@@ -53,7 +53,7 @@ build() {
sed -i -e "s/^SCRIPT_VERSION=.*$/SCRIPT_VERSION=\"$VERSION\"/" ./scope
make SUDO=$SUDO SCOPE_VERSION=$VERSION DOCKERHUB_USER=$DOCKERHUB_USER
if ./bin/test; 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