We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41891d commit d7c84cfCopy full SHA for d7c84cf
update-version.sh
@@ -93,10 +93,10 @@ for file in $POM_FILES; do
93
if grep -q "$FROM_VERSION" "$file"; then
94
if [[ "$OSTYPE" == "darwin"* ]]; then
95
# macOS requires empty string after -i
96
- sed -i "" -e "s/$FROM_VERSION/$TO_VERSION/g" "$file"
+ sed -i "" -e "s|>$FROM_VERSION<|>$TO_VERSION<|g" "$file"
97
else
98
# Linux doesn't need it
99
- sed -i "s/$FROM_VERSION/$TO_VERSION/g" "$file"
+ sed -i "s|>$FROM_VERSION<|>$TO_VERSION<|g" "$file"
100
fi
101
echo " ✅ $file"
102
UPDATED_POMS=$((UPDATED_POMS + 1))
0 commit comments