Skip to content

Commit

Permalink
use cp instead of mv for ear release
Browse files Browse the repository at this point in the history
  • Loading branch information
yvespp committed Aug 17, 2020
1 parent ff88eb0 commit 14fde0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ script:
- AMW_docker/build.sh
before_deploy:
- sudo chmod 777 AMW_ear/target/mvn-repo/ch/puzzle/itc/mobiliar/AMW_ear/*/AMW_ear-*.ear
- mv AMW_ear/target/mvn-repo/ch/puzzle/itc/mobiliar/AMW_ear/*/AMW_ear-*.ear AMW_ear-${TRAVIS_BRANCH:1}.ear
- cp AMW_ear/target/mvn-repo/ch/puzzle/itc/mobiliar/AMW_ear/*/AMW_ear-*.ear AMW_ear-${TRAVIS_BRANCH:1}.ear
after_success:
- "[[ -z $TRAVIS_PULL_REQUEST_BRANCH ]] && export CURRENT_BRANCH=$TRAVIS_BRANCH ||
export CURRENT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH"
Expand Down

0 comments on commit 14fde0c

Please sign in to comment.