Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

Commit a99ae04

Browse files
committed
feat: add README update to bump-version script
1 parent a44863a commit a99ae04

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/bump-version.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ echo "$NEW_VERSION" > VERSION
4444
# Update openiap.podspec
4545
sed -i '' "s/s.version.*=.*'.*'/s.version = '$NEW_VERSION'/" openiap.podspec
4646

47+
# Update README.md - CocoaPods installation
48+
sed -i '' "s/pod 'openiap', '~> [0-9.]*'/pod 'openiap', '~> $NEW_VERSION'/" README.md
49+
50+
# Update README.md - Swift Package Manager
51+
sed -i '' "s/.package(url: \"https:\/\/github.com\/hyodotdev\/openiap-apple.git\", from: \"[0-9.]*\")/.package(url: \"https:\/\/github.com\/hyodotdev\/openiap-apple.git\", from: \"$NEW_VERSION\")/" README.md
52+
4753
# Commit changes
48-
git add VERSION openiap.podspec
54+
git add VERSION openiap.podspec README.md
4955
git commit -m "Bump version to $NEW_VERSION"
5056

5157
# Create and push tag

0 commit comments

Comments
 (0)