Skip to content

Commit

Permalink
fix(ci-deploy): attempt to fix issue where mult. builds deployed to m…
Browse files Browse the repository at this point in the history
…aven central
  • Loading branch information
landonreed committed Oct 7, 2019
1 parent faa73db commit 2498b53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ notifications:
after_success:
# this first codecov run will upload a report associated with the commit set through Travis CI environment variables
- bash <(curl -s https://codecov.io/bash)
# Clear contents of the target directory to avoid issues where maven-semantic-release attempts to upload
# multiple versions/builds (and fails due to the pre-existence of the version on maven central).
- rm -rf target/*
# run maven-semantic-release to potentially create a new release of gtfs-lib.
#
# If maven-semantic-release finishes successfully and the current branch is master, upload coverage reports for the
Expand Down

0 comments on commit 2498b53

Please sign in to comment.