Skip to content

Commit

Permalink
chore: update release rules
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Sep 20, 2022
1 parent c6b045b commit c4c7401
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ branches:
plugins:
- - "@semantic-release/commit-analyzer"
- preset: angular
parserOpts:
headerPattern: '^(\w*)(?:\((.*)\))?!?: (.*)$'
breakingHeaderPattern: '^(\w*)(?:\((.*)\))?!: (.*)$'
releaseRules:
- breaking: true
release: major
- revert: true
release: patch
- type: feat
release: minor
- type: fix
Expand All @@ -18,6 +23,9 @@ plugins:
- type: build
scope: deps
release: patch
- type: build
scope: peer-deps
release: patch
- type: build
scope: release-patch
release: patch
Expand All @@ -27,12 +35,16 @@ plugins:
- type: build
scope: release-major
release: major
- "@semantic-release/release-notes-generator"
- - "@semantic-release/release-notes-generator"
- preset: angular
parserOpts:
headerPattern: '^(\w*)(?:\((.*)\))?!?: (.*)$'
breakingHeaderPattern: '^(\w*)(?:\((.*)\))?!: (.*)$'
- - "@semantic-release/changelog"
- changelogTitle: "# Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC."
- - "@google/semantic-release-replace-plugin"
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "./lib/**/*"
Expand Down

0 comments on commit c4c7401

Please sign in to comment.