Skip to content

Commit

Permalink
Fix nexus:staging
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaaano committed Jun 27, 2021
1 parent ac605ff commit 2bc5b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ script:

after_success:
- if [[ -n "$TRAVIS_TAG" && "$TRAVIS_JDK_VERSION" == "openjdk11" ]]; then
$MAVEN_CMD nexus-staging:release --settings settings.xml;
$MAVEN_CMD nexus-staging:release --activate-profiles deploy --settings settings.xml;
fi

after_failure:
- if [[ -n "$TRAVIS_TAG" && "$TRAVIS_JDK_VERSION" == "openjdk11" ]]; then
$MAVEN_CMD nexus-staging:drop --settings settings.xml;
$MAVEN_CMD nexus-staging:drop --activate-profiles deploy --settings settings.xml;
fi

deploy:
Expand Down

0 comments on commit 2bc5b77

Please sign in to comment.