fix incorrect if statement
@@ -21,7 +21,7 @@ function release() {
tag_exact="${DOCKER_REPO}:${weaviate_version}-$(echo "$TRAVIS_COMMIT" | cut -c1-7)"
elif [ -n "$TRAVIS_TAG" ]; then
weaviate_version="$(jq -r '.info.version' < openapi-specs/schema.json)"
- if [ "$TRAVIS_TAG" = "v$weaviate_version" ]; then
+ if [ "$TRAVIS_TAG" != "v$weaviate_version" ]; then
echo "The release tag ($TRAVIS_TAG) and Weaviate version (v$weaviate_version) are not equal! Can't release."
return 1
fi
