diff --git a/example/package.json b/example/package.json index 4ca18cf..3566a8e 100644 --- a/example/package.json +++ b/example/package.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "0.0.7", + "version": "0.1.0", "private": true, "scripts": { "android": "./scripts/installer.sh android", @@ -10,7 +10,7 @@ "test": "jest" }, "dependencies": { - "@komoju/komoju-react-native": "0.0.7", + "@komoju/komoju-react-native": "0.1.0", "i18next": "^23.11.5", "react": "18.2.0", "react-i18next": "^14.1.2", diff --git a/payment_sdk/scripts/publish.sh b/payment_sdk/scripts/publish.sh index a05bdd0..78002d3 100755 --- a/payment_sdk/scripts/publish.sh +++ b/payment_sdk/scripts/publish.sh @@ -136,12 +136,12 @@ echo "Updating version in ../example/package.json to $NEW_VERSION" node -p "const fs = require('fs'); const path = '../example/package.json'; const pkg = JSON.parse(fs.readFileSync(path, 'utf8')); pkg.version = '$NEW_VERSION'; fs.writeFileSync(path, JSON.stringify(pkg, null, 2))" echo "Publishing release to npm" -# npm publish --access=public +npm publish --access=public echo "Pushing git commit and tag" # git add package.json ../example/package.json # git commit -m "Update package.json and example package.json to version $NEW_VERSION" -# git push --follow-tags +git push --follow-tags echo "Updating the main branch" # git push origin main