Skip to content

Commit

Permalink
correct deploy script after the root pom change (#7043)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZheSun88 authored Jan 13, 2025
1 parent 3054a4c commit 115f052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepareDeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pomBase=`getBaseVersion $pomVersion`

### Get the main branch version for components
mainPom=`curl -s "https://raw.githubusercontent.com/vaadin/flow-components/main/pom.xml"`
mainMajorMinor=`echo "$mainPom" | grep '<version>' | cut -d '>' -f2 |cut -d '<' -f1 | grep "^$base" | head -1 | cut -d '-' -f1`
mainMajorMinor=`echo "$mainPom" | grep -m2 '<version>' | tail -n1 | cut -d '>' -f2 |cut -d '<' -f1 | grep "^$base" | head -1 | cut -d '-' -f1`

### Load versions file for this platform release
branch=$versionBase
Expand Down

0 comments on commit 115f052

Please sign in to comment.