From 901276451845c5dbd926af0a6563d5564d3e87b9 Mon Sep 17 00:00:00 2001 From: Josh Wulf Date: Fri, 5 Apr 2024 15:41:30 +1300 Subject: [PATCH] fix(repo): only git commit on npm publish success --- .releaserc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.releaserc b/.releaserc index ff592983..fd2796cc 100644 --- a/.releaserc +++ b/.releaserc @@ -11,8 +11,19 @@ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", - "@semantic-release/npm", - "@semantic-release/github", + [ + "@semantic-release/npm", + {} + ], + [ + "@semantic-release/git", + { + "assets": [ + "package.json" + ], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ], "@semantic-release/git" ] } \ No newline at end of file