Skip to content

Commit

Permalink
ci: update release rules
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed May 12, 2024
1 parent 8169eb3 commit 574d43e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ jobs:
if: github.repository_owner == 'antmelekhin'
steps:
- name: 'Checkout the codebase'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: 'Semantic Release'
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 19.0.5
semantic_version: 23.0.8
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
conventional-changelog-conventionalcommits@5.0.0
conventional-changelog-conventionalcommits@7.0.2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
7 changes: 5 additions & 2 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ verifyConditions:
analyzeCommits:
- path: '@semantic-release/commit-analyzer'
releaseRules:
- type: 'breaking'
- breaking: true
release: 'major'
- type: 'chore'
release: false
- type: 'ci'
release: false
- type: 'docs'
release: false
- type: 'docs'
scope: 'README'
release: patch
- type: 'feat'
release: 'minor'
- type: 'fix'
Expand All @@ -27,7 +30,7 @@ analyzeCommits:
release: 'minor'
- type: 'refactor'
release: 'patch'
- type: 'revert'
- revert: true
release: 'patch'
- type: 'style'
release: false
Expand Down

0 comments on commit 574d43e

Please sign in to comment.