Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit ad5e63c

Browse files
author
Dan Richelson
committed
Update version in readme when releasing
1 parent 825472b commit ad5e63c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/release.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@ echo "Starting java-client release."
1313

1414
VERSION=$1
1515

16-
#Update version in gradle.properties file:
16+
# Update version in gradle.properties file:
1717
sed -i.bak "s/^version.*$/version=${VERSION}/" gradle.properties
1818
rm -f gradle.properties.bak
19+
20+
# Update version in README.md:
21+
sed -i.bak "s/<version>.*<\/version>/<version>${VERSION}<\/version>/" README.md
22+
rm -f README.md.bak
23+
1924
./gradlew clean test install sourcesJar javadocJar uploadArchives closeAndReleaseRepository
2025
./gradlew publishGhPages
2126
echo "Finished java-client release."

0 commit comments

Comments
 (0)