mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-11 09:15:56 +00:00
15 lines
384 B
Bash
Executable File
15 lines
384 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eof pipefail
|
|
|
|
if [ $# -eq 0 ]
|
|
then
|
|
echo "Need to supply a status-go version"
|
|
exit 1
|
|
fi
|
|
|
|
STATUSGO_VERSION=$1
|
|
|
|
sed -i '' -e "s/\(<version>\).*\(<\/version>\)/\1$STATUSGO_VERSION\2/" modules/react-native-status/ios/RCTStatus/pom.xml
|
|
sed -i '' -e "s/\(statusGoVersion = '\).*\('\)/\1$STATUSGO_VERSION\2/" modules/react-native-status/android/build.gradle
|