Skip to content

Commit

Permalink
Fix success webhook inner flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Leao committed Apr 13, 2018
1 parent fd4fcb5 commit b830753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion success_webhook.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ "$LIBRDKAFKA_VERSION" != "master" ]; then
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$LIBRDKAFKA_VERSION" != "master" ]; then
VERSION=$(cat ./util/version.go | grep "var Version" | awk ' { print $4 } ' | sed s/\"//g)
curl -X POST "$FARM_URL$VERSION.$TRAVIS_BUILD_NUMBER"
fi

0 comments on commit b830753

Please sign in to comment.