Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Nov 20, 2023
1 parent dba1e23 commit 4535904
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .config/scripts/run-publish-monorepo.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ async function updateAllPackages() {

for (const packagePath of packagesPathByOrder) {
const packageJsonPath = path.join(packagePath, 'package.json');
const {name} = await new UpdateMonorepoPackagesVersion(packageJsonPath).updatePackage();
execSync('npm run release -- --tag-format=\'' + name + '@${version}\'', {cwd: packagePath, stdio: 'inherit'});
await new UpdateMonorepoPackagesVersion(packageJsonPath).updatePackage();
execSync('npm run release', {cwd: packagePath, stdio: 'inherit'});
}
}

Expand Down
2 changes: 1 addition & 1 deletion .config/semantic-release.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "semantic-release-monorepo-esm",
"extends": "semantic-release-commit-filter",
"branches": [
"main"
],
Expand Down
Loading

0 comments on commit 4535904

Please sign in to comment.