Skip to content

Commit

Permalink
fix: fix zcloak-dev-version
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcwoshizz committed Apr 14, 2023
1 parent 6c597ef commit 750c4ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-cats-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zcloak/dev": patch
---

fix zcloak-dev-version
3 changes: 2 additions & 1 deletion packages/dev/scripts/zcloak-dev-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if (!TYPES.includes(type)) {

console.log('$ zcloak-dev-version', process.argv.slice(2).join(' '));

[packages, rootPackage]
packages
.concat(rootPackage)
.map((pkg) => {
const newVer = semver.inc(pkg.packageJson.version, type);

Expand Down

0 comments on commit 750c4ef

Please sign in to comment.