From 4cdb3cd128a31a25b5fc357d49452fb340e38f0a Mon Sep 17 00:00:00 2001 From: Maharshi Patel <39730881+maharshivpatel@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:40:38 +0530 Subject: [PATCH] chore: add releaserc file (#215) --- .releaserc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .releaserc diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..44a288d --- /dev/null +++ b/.releaserc @@ -0,0 +1,21 @@ +{ + "branches": ["main"], + "plugins": [ + "@semantic-release/commit-analyzer", { + "preset": "angular" + }, + "@semantic-release/release-notes-generator", + [ + "@semantic-release/exec", { + "prepareCmd": 'sed -ir "s/[0-9]*\.[0-9]*\.[0-9]*/${nextRelease.version}/" print_designer/__init__.py' + } + ], + [ + "@semantic-release/git", { + "assets": ["print_designer/__init__.py"], + "message": "chore(release): Bumped to Version ${nextRelease.version}" + } + ], + "@semantic-release/github" + ] +} \ No newline at end of file