Skip to content

Commit

Permalink
update upVer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkchen committed Dec 1, 2023
1 parent 857792a commit 3f259c8
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions bin/upVer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,7 @@ else
grep -n --color=auto $newVersion $1/pom.xml
fi

for d in */; do
upVer $d
done

# Update poi/build.gradle
if [ -f poi/build.gradle ] ; then
echo "poi/build.gradle"
find ./poi/build.gradle -exec sed -i "
s/version = '$oldVersion.*'/version = '$newVersion'/g
" {} \; -exec grep -n --color=auto $newVersion {} \;
fi
upVer "calendar"
upVer "essentials"
upVer "test"
upVer "zkcalendardemo"

0 comments on commit 3f259c8

Please sign in to comment.