diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f1a5c7..2004d32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,8 @@ jobs: @semantic-release/release-notes-generator \ @semantic-release/changelog \ @semantic-release/exec \ - @semantic-release/github + @semantic-release/github \ + @semantic-release/git - name: semantic-release-dry-run run: npx semantic-release --ci --dry-run diff --git a/.releaserc.yml b/.releaserc.yml index eb9fab8..98baee1 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -1,3 +1,9 @@ +branches: + - master + - +([0-9])?(.{+([0-9]),x}).x + - name: next + prerelease: true + plugins: - "@semantic-release/commit-analyzer" - "@semantic-release/release-notes-generator" @@ -5,12 +11,7 @@ plugins: - path: "@semantic-release/exec" prepareCmd: echo ${nextRelease.gitHead} > VERSION - path: "@semantic-release/github" + - path: "@semantic-release/git" assets: - CHANGELOG.md - VERSION - -branches: - - master - - +([0-9])?(.{+([0-9]),x}).x - - name: next - prerelease: true