From 38e8731f03a8e26f8045a2e1dcede64b7235525b Mon Sep 17 00:00:00 2001 From: Anoop Kurungadam Date: Sun, 15 Dec 2024 00:43:50 +0530 Subject: [PATCH] chore: fix symantic release config (cherry picked from commit d1f28b676b3000af333dee14cb0f5c3dbb0905c5) # Conflicts: # .releaserc --- .releaserc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .releaserc diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000000..23c27e1ccd --- /dev/null +++ b/.releaserc @@ -0,0 +1,24 @@ +{ + "branches": ["version-14", "version-15"], + "plugins": [ + "@semantic-release/commit-analyzer", { + "preset": "angular", + "releaseRules": [ + {"breaking": true, "release": false} + ] + }, + "@semantic-release/release-notes-generator", + [ + "@semantic-release/exec", { + "prepareCmd": 'sed -ir "s/[0-9]*\.[0-9]*\.[0-9]*/${nextRelease.version}/" healthcare/__init__.py' + } + ], + [ + "@semantic-release/git", { + "assets": ["healthcare/__init__.py"], + "message": "chore(release): Bumped to Version ${nextRelease.version}\n\n${nextRelease.notes}" + } + ], + "@semantic-release/github" + ] +} \ No newline at end of file