Skip to content

Commit

Permalink
changes on changelog and script
Browse files Browse the repository at this point in the history
  • Loading branch information
chathurapathiranage committed Aug 29, 2024
1 parent a99db11 commit 35fdf20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "0.0.7",
"version": "0.1.0",
"private": true,
"scripts": {
"android": "./scripts/installer.sh android",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions payment_sdk/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35fdf20

Please sign in to comment.