Skip to content

Commit

Permalink
chore: fix version bump script
Browse files Browse the repository at this point in the history
  • Loading branch information
matijagaspar committed Nov 18, 2024
1 parent da330c1 commit ee3ce72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See README in individual packages
* `pnpm build`

To bump version:
`pnpm run bump-version -- [version]`
`pnpm run bump-version [version]`

To mass publish:
* need to be on main without any uncomitted changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
]
},
"packageManager": "pnpm@9.10.0+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
}
}
2 changes: 1 addition & 1 deletion scripts/versions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function main() {
console.log(`\x1b[32mCommitting changes and creating a tag (pushing is left to you) ...\x1b[0m`)
await git.commit(
'chore: Version bump',
packages.map(p => `packages/${p}/package.json`),
packages.map(({path:p}) => `${p.replace(/\\/g,'/')}/package.json`),
{ '--no-verify': true },
)

Expand Down

0 comments on commit ee3ce72

Please sign in to comment.