Skip to content

Commit

Permalink
fix: Deploy ordering (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrehu authored Oct 6, 2023
1 parent 923607d commit 47384da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/deploy-multi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ then
exit 1
fi

KAFKA_VERSIONS="3.6.0 3.5.1"
KAFKA_VERSIONS="3.5.1 3.6.0"
CURRENT_VERSION="$(grep '<version>' pom.xml | head -1 | sed -re 's/[[:space:]]*<version>(.*)<\/version>[[:space:]]*/\1/')"

mvn --batch-mode deploy
cp pom.xml pom.xml.old
for KAFKA_VERSION in $KAFKA_VERSIONS
do
Expand All @@ -22,3 +21,4 @@ do
done
mv pom.xml.old pom.xml
rm -f pom.xml.versionsBackup
mvn --batch-mode deploy

0 comments on commit 47384da

Please sign in to comment.