Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 2ffd058

Browse files
Merge pull request #183 from scalecube/travis-ci-cd
ci-cd using Travis CI
2 parents f038d9e + 59515ac commit 2ffd058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scripts/cd/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ commit_to_develop() {
1515
git push origin develop
1616
}
1717

18-
function check_next_version() {
18+
check_next_version() {
1919
export NEXT_VERSION=$(echo $TRAVIS_COMMIT_MESSAGE | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT')
2020
if [ -n "$NEXT_VERSION" ] ; then
2121
export MVN_NEXT_VERSION=-DdevelopmentVersion=$NEXT_VERSION
2222
fi
2323
}
2424

25-
function check_tag_for_rc() {
25+
check_tag_for_rc() {
2626
export VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
2727
if [ -n "$TRAVIS_TAG" ] ; then
2828
RC_VER=$(echo $TRAVIS_TAG | grep -E -o 'RC-?[0-9]+')

0 commit comments

Comments
 (0)