Skip to content

Commit

Permalink
Use either verify or deploy goal
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Nov 25, 2024
1 parent 12c4c7d commit 847b089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
ARGS=""
ARGS="verify"
if mvn help:evaluate -Dexpression=project.version -q -DforceStdout | grep SNAPSHOT; then
ARGS="-P snapshot-release --settings deploy/settings.xml deploy"
fi

mvn -V -B --no-transfer-progress -P jacoco checkstyle:check spotbugs:check verify $ARGS
mvn -V -B --no-transfer-progress -P jacoco checkstyle:check spotbugs:check $ARGS

0 comments on commit 847b089

Please sign in to comment.