|
@@ -44,8 +44,8 @@ pushd "${__root}" > /dev/null 2>&1
|
|
|
echo "On Travis (TRAVIS is '${TRAVIS}'), I'm not pushing releases to the CDN for pull requests (TRAVIS_PULL_REQUEST is '${TRAVIS_PULL_REQUEST}')"
|
|
|
exit 0
|
|
|
fi
|
|
|
- if [[ ! "$TRAVIS_COMMIT" =~ ^Release* ]]; then
|
|
|
- echo "On Travis (TRAVIS is '${TRAVIS}'), I'm not pushing releases to the CDN unless commit message starts with 'Release' (TRAVIS_COMMIT is '${TRAVIS_COMMIT}')"
|
|
|
+ if [[ ! "$TRAVIS_COMMIT_MESSAGE" =~ ^Release* ]]; then
|
|
|
+ echo "On Travis (TRAVIS is '${TRAVIS}'), I'm not pushing releases to the CDN unless commit message starts with 'Release' (TRAVIS_COMMIT is '${$TRAVIS_COMMIT_MESSAGE}')"
|
|
|
exit 0
|
|
|
fi
|
|
|
fi
|