Skip to content

Commit

Permalink
fix: passport sample app deployment fix (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
shineli1984 authored Jul 31, 2024
1 parent 1f209e8 commit 3c374e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/passport/sdk-sample-app/scripts/updateSdkVersion.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3c374e6

Please sign in to comment.