Skip to content

Commit

Permalink
Enhance update-dependencies.sh to allow optional minor updates and in…
Browse files Browse the repository at this point in the history
…clude plugins
  • Loading branch information
mkjsix committed Nov 7, 2024
1 parent dfe2804 commit 05086a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
#!/bin/bash
mvn versions:use-latest-releases -DallowMinorUpdates=false
# if the first argument is true, allow minor updates
ALLOW_MINOR_UPDATES=${1:-false}
echo "Updating dependencies with allowMinorUpdates=$ALLOW_MINOR_UPDATES"
mvn versions:use-latest-releases -DallowMinorUpdates=$ALLOW_MINOR_UPDATES -DincludePlugins=true

0 comments on commit 05086a0

Please sign in to comment.