Fix non-SNAPSHOT builds by removing the SNAPSHOT identifier from artifact collection

This commit is contained in:
timvisee 2017-06-01 13:19:05 +02:00
parent f0895912f3
commit cd1878cb9f

View File

@ -8,9 +8,9 @@ test:
override:
- mvn clean install -B
post:
- cp ./target/AuthMe-*-SNAPSHOT-spigot.jar $CIRCLE_ARTIFACTS
- cp ./target/AuthMe-*-SNAPSHOT-legacy.jar $CIRCLE_ARTIFACTS
- cp ./target/AuthMe-*-SNAPSHOT-spigot.jar $CIRCLE_ARTIFACTS/AuthMe.jar
- cp ./target/AuthMe-*-spigot.jar $CIRCLE_ARTIFACTS
- cp ./target/AuthMe-*-legacy.jar $CIRCLE_ARTIFACTS
- cp ./target/AuthMe-*-spigot.jar $CIRCLE_ARTIFACTS/AuthMe.jar
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
notify: