Skip to content

Commit

Permalink
chore(): set next tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Dec 4, 2024
1 parent eb94e48 commit 097e47b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"private": false,
"description": "Stripe SDK bindings for Capacitor Applications",
"scripts": {
"release": "np --no-tests --no-publish && node ./release.js"
"release": "np --no-tests --no-publish --any-branch && node ./release.js"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion release.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const workspaces = ['packages/payment', 'packages/identity', 'packages/terminal'
workspaces.forEach(async (workspace) => {
const releasePackagePath = path.resolve('./' + workspace);
await updatePackage(releasePackagePath + '/package.json', { version: pkg.version });
exec(`cd ${releasePackagePath} && npm install && npm run build && npm publish`, (err, stdout, stderr) => {
exec(`cd ${releasePackagePath} && npm install && npm run build && npm publish --tag next`, (err, stdout, stderr) => {
if (err) {
console.error(err);
return;
Expand Down

0 comments on commit 097e47b

Please sign in to comment.