Update release script [skip tests] [internal enterprise release 2.7.3-A1 2.7.3-SNAPSHOT]

This commit is contained in:
ehardon
2020-10-19 13:42:15 +03:00
parent 7a071e42de
commit b5a07abc23
3 changed files with 29 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env bash
release_message=$(echo $TRAVIS_COMMIT_MESSAGE | grep -Po '\[(internal )*(community|enterprise)\srelease\s(\d\.)+(\d|[a-z])(-[A-Z]\d){0,1}\s(\d\.)+\d-SNAPSHOT\]')
echo "Travis commit message: $TRAVIS_COMMIT_MESSAGE"
release_message=$(echo $TRAVIS_COMMIT_MESSAGE | grep -Po '(\[(internal )*(community|enterprise)\srelease\s(\d\.)+(\d|[a-z])(-[A-Z]\d){0,1}\s(\d\.)+\d-SNAPSHOT\])')
if [ ! -n "$release_message" ]; then
echo "The commit message is in the wrong format or it does not contain all the required properties."