Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 36d2f30

Browse files
author
Craigory Coppola
committed
fix(repo): update .releaserc to commit package.json version back
1 parent 0f9fda7 commit 36d2f30

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.releaserc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
{ type: 'refactor', hidden: true },
2828
{ type: 'test', hidden: true },
2929
{ type: 'release', hidden: true },
30+
{ scope: 'repo', hidden: true },
3031
],
3132
},
3233
},
@@ -35,9 +36,9 @@ module.exports = {
3536
[
3637
'@semantic-release/exec',
3738
{
39+
prepareCmd: 'npx ts-node toools/scripts/patch-package-versions ${nextRelease.version}',
3840
publishCmd: [
3941
'npx ts-node tools/scripts/publish-all ${nextRelease.version} ${nextRelease.channel}',
40-
'git status',
4142
].join(' && '),
4243
},
4344
],

tools/scripts/patch-package-versions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ export function PatchPackageVersions(newVersion: string, updateGit = true) {
4949
}
5050

5151
if (require.main === module) {
52-
PatchPackageVersions(process.argv[2]);
52+
PatchPackageVersions(process.argv[2], false);
5353
}

0 commit comments

Comments
 (0)