From dbf8910dce21854566b8f3f96bac3d1ffb7a8c31 Mon Sep 17 00:00:00 2001 From: Franco Date: Sat, 22 Jun 2024 03:29:51 +0300 Subject: [PATCH] fix:add config --- .github/workflows/release.yml | 1 + .releaserc | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .releaserc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 846f00f..008dace 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,7 @@ jobs: prerelease: true } ] + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..5fe2fde --- /dev/null +++ b/.releaserc @@ -0,0 +1,17 @@ +{ + "branches": + [ + "+([0-9])?(.{+([0-9]),x}).x", + "main", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, + ], + "plugins": + [ + "@semantic-release/commit-analyzer", + ["@semantic-release/github", { "successComment": false, "failTitle": false }], + "@semantic-release/release-notes-generator", + ], +}