Skip to content

Commit

Permalink
Update release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed May 15, 2024
1 parent c91d5b9 commit 8a82bc4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/config-release-it/.release-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const version = "${version}";
const packageName = process.env.npm_package_name;
const scope = packageName.split("/")[1];

console.log(packageName);

module.exports = {
plugins: {
"@release-it/conventional-changelog": {
Expand All @@ -16,7 +18,7 @@ module.exports = {
git: {
push: true,
tagName: `${packageName}-v${version}`,
pushRepo: "[email protected]:b12k/monorepo-semantic-releases.git",
pushRepo: "[email protected]:eaudeweb/next-drupal.git",
commitsPath: ".",
commitMessage: `feat(${scope}): released version v${version} [no ci]`,
requireCommits: true,
Expand All @@ -30,7 +32,4 @@ module.exports = {
release: true,
releaseName: `${packageName}-v${version}`,
},
hooks: {
"before:git:release": ["mvm-update", "git add --all"],
},
};

0 comments on commit 8a82bc4

Please sign in to comment.