Skip to content

Commit 545178b

Browse files
committed
Fix badge version change
1 parent c47997f commit 545178b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/bump-version

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ sed -i -e "s|versionName '$OLD_VERSION|versionName '$NEW_VERSION|" $EXAMPLE_ONE
2828
sed -i -e "s|versionName '$OLD_VERSION|versionName '$NEW_VERSION|" $EXAMPLE_TWO
2929
sed -i -e "s|versionName '$OLD_VERSION|versionName '$NEW_VERSION|" $LIB_GRADLE
3030
# Replace in README.md
31-
sed -i -e "s|saschpe.android:textoverlay:$OLD_VERSION|saschpe.android:textoverlay:$NEW_VERSION|" $README
31+
sed -i \
32+
-e "s|saschpe.android:textoverlay:$OLD_VERSION|saschpe.android:textoverlay:$NEW_VERSION|" \
33+
-e "s|%3A${OLD_VERSION}|%3A${NEW_VERSION}|" \
34+
$README
3235

3336
# Take version code from app gradle
3437
OLD_VERSION_CODE=$(get_version_code $EXAMPLE_ONE)

0 commit comments

Comments
 (0)