Skip to content

Commit 7d04931

Browse files
committed
mvndeploy.sh: set -e, chmod +x
Signed-off-by: Felix Neumann <[email protected]>
1 parent 4e6a8bd commit 7d04931

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ install: mvn install -P !build-extras -DskipTests=true -Dmaven.javadoc.skip=true
55
script: mvn test -P !build-extras -B
66
after_success:
77
- mvn clean test jacoco:report coveralls:report -P record-coverage,!build-extras -B
8-
- ./src/main/build/mvndeploy.sh
8+
- chmod +x src/main/build/mvndeploy.sh && ./src/main/build/mvndeploy.sh
99
cache:
1010
directories:
1111
- ~/.m2/repository

src/main/build/mvndeploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# based on http://www.debonair.io/post/maven-cd/
33

4+
set -e
5+
46
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
57

68
if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then

0 commit comments

Comments
 (0)