Skip to content

Commit

Permalink
Fix creation of dist directory for built packages
Browse files Browse the repository at this point in the history
mkdir needed -p  so Java packages could be copied successfully
  • Loading branch information
jas88 authored Mar 3, 2020
1 parent 47cf2c6 commit ec9b86c
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 @@ -73,14 +73,14 @@ jobs:

after_success:
- if [ -z "$TRAVIS_TAG" ]; then travis_terminate 0; fi
- mkdir -p ./dist
- |
for platform in linux win
do
dotnet publish -c Release -r $platform-x64 -o $(pwd)/dist/$platform-x64 --self-contained false -nologo -v q
done
- ( cd dist && zip -r smi-services-win-x64-$TRAVIS_TAG.zip ./win-x64 && tar czf smi-services-linux-x64-$TRAVIS_TAG.tar.gz ./linux-x64 && cd - )
- mvn -f src/common/com.smi.microservices.parent/pom.xml assembly:single@create-deployable
- mkdir ./dist
- |
for filename in $(find ./src -name "*deploy-distribution.zip")
do
Expand Down

0 comments on commit ec9b86c

Please sign in to comment.