Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit dace78c

Browse files
committed
Doing work
1 parent 425c2fd commit dace78c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

gradle/buildViaTravis-linux.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "develop" ]
1414
# Develop Branch
1515
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
1616
export ORG_GRADLE_PROJECT_releaseType=snapshot
17-
export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT::7}
1817
./gradlew clean build publish --stacktrace
1918
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [[ "$TRAVIS_BRANCH" == release/* ]] && [ "$TRAVIS_TAG" == "" ]; then
2019
# Release Branch
@@ -29,5 +28,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ];
2928
else
3029
# Feature Branch
3130
echo -e 'Build Branch => Branch ['$TRAVIS_BRANCH']'
32-
./gradlew clean build --stacktrace
31+
export ORG_GRADLE_PROJECT_releaseType=snapshot
32+
export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT::7}
33+
./gradlew clean build publish --stacktrace
3334
fi

gradle/buildViaTravis.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "develop" ]
1414
# Develop Branch
1515
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
1616
export ORG_GRADLE_PROJECT_releaseType=snapshot
17-
export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT::7}
1817
./gradlew clean build publish --stacktrace
1918
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [[ "$TRAVIS_BRANCH" == release/* ]] && [ "$TRAVIS_TAG" == "" ]; then
2019
# Release Branch
@@ -29,5 +28,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ];
2928
else
3029
# Feature Branch
3130
echo -e 'Build Branch => Branch ['$TRAVIS_BRANCH']'
32-
./gradlew clean build --stacktrace
31+
export ORG_GRADLE_PROJECT_releaseType=snapshot
32+
export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT::7}
33+
./gradlew clean build publish --stacktrace
3334
fi

0 commit comments

Comments
 (0)