Skip to content

Commit 6a10485

Browse files
committed
script: fix bump version script
1 parent 981c8d7 commit 6a10485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bump-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ NEW_VERSION="$1"
44

55
sed -i '' "s/\"version\": \"[0-9].[0-9].[0-9]\"/\"version\": \"$NEW_VERSION\"/" ./package.json
66
sed -i '' "s/ReactNative\/[0-9].[0-9].[0-9]/\ReactNative\/$NEW_VERSION/" ./ios/RNBatch.h
7-
sed -i '' "s/ReactNative\/[0-9].[0-9].[0-9]/\ReactNative\/$NEW_VERSION/" ./android/src/main/java/com/batch/batch_rn/RNBatchModule.java
7+
sed -i '' "s/ReactNative\/[0-9].[0-9].[0-9]/\ReactNative\/$NEW_VERSION/" ./android/src/main/java/com/batch/batch_rn/RNBatchModuleImpl.java
88
sed -i '' "s/UPCOMING/$NEW_VERSION/1" ./CHANGELOG.md

0 commit comments

Comments
 (0)