Skip to content

Commit 10e9fbf

Browse files
committed
update readme as part of bump
1 parent 9fba605 commit 10e9fbf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bump.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ echo "Bumping version to $NEW_VERSION..."
1414

1515
# Update config.json
1616
jq ".artifactVersion = \"$NEW_VERSION\"" config.json > config.json.tmp && mv config.json.tmp config.json
17-
1817
echo "✓ Updated config.json artifactVersion to $NEW_VERSION"
18+
19+
# Update README.md - replace all version references in Maven and Gradle examples
20+
sed -i "s/<version>[0-9]\+\.[0-9]\+\.[0-9]\+<\/version>/<version>$NEW_VERSION<\/version>/g" README.md
21+
sed -i "s/\(com\.fastcomments:[^:]\+:\)[0-9]\+\.[0-9]\+\.[0-9]\+/\1$NEW_VERSION/g" README.md
22+
echo "✓ Updated README.md version references to $NEW_VERSION"
23+
1924
echo "Done! Version bumped to $NEW_VERSION"

0 commit comments

Comments
 (0)