Skip to content

Commit

Permalink
update the update version script
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Jun 3, 2024
1 parent 454ee2b commit 4ff1e06
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion update_versions.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
#!/bin/bash
mvn -N versions:update-child-modules -DgenerateBackupPoms=false
UPDATE_DIR="
agent
spigot
"

BASE_DIR="$(pwd)"
mvn -N versions:update-child-modules -DgenerateBackupPoms=false
for dir in $UPDATE_DIR; do
cd "$BASE_DIR/$dir" || exit
mvn -N versions:update-child-modules -DgenerateBackupPoms=false
done
cd "$BASE_DIR" || exit

0 comments on commit 4ff1e06

Please sign in to comment.