diff --git a/packages/passport/sdk-sample-app/scripts/updateSdkVersion.sh b/packages/passport/sdk-sample-app/scripts/updateSdkVersion.sh index c1dddee49e..86690cb97e 100755 --- a/packages/passport/sdk-sample-app/scripts/updateSdkVersion.sh +++ b/packages/passport/sdk-sample-app/scripts/updateSdkVersion.sh @@ -1,7 +1,7 @@ #!/bin/bash if [[ "$OSTYPE" == "darwin"* ]]; then -find $1 -type f -name "*.js" -exec sed -i '' "s/__SDK_VERISON__/$(git describe --tags --abbrev=0)/g" {} +; +find $1 -type f -name "*.js" -exec sed -i '' "s/__SDK_VERSION__/$(git describe --tags --abbrev=0)/g" {} +; else -find $1 -type f -name "*.js" -exec sed -i "s/__SDK_VERISON__/$(git describe --tags --abbrev=0)/g" {} +; +find $1 -type f -name "*.js" -exec sed -i "s/__SDK_VERSION__/$(git describe --tags --abbrev=0)/g" {} +; fi