-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d9559c
commit 84f94a6
Showing
3 changed files
with
89 additions
and
52 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
--- | ||
branches: | ||
- main | ||
- name: stage | ||
prerelease: "rc" | ||
channel: "next" | ||
preset: "conventionalcommits" | ||
tagFormat: "v${version}" | ||
plugins: | ||
- "@semantic-release/commit-analyzer" | ||
- "@semantic-release/release-notes-generator" | ||
- "@semantic-release/changelog" | ||
- "@semantic-release/exec" | ||
- "@semantic-release/git" | ||
- "@semantic-release/github" | ||
|
||
verifyConditions: | ||
- "@semantic-release/git" | ||
- "@semantic-release/github" | ||
|
||
analyzeCommits: | ||
- path: "@semantic-release/commit-analyzer" | ||
releaseRules: | ||
- type: refactor | ||
release: patch | ||
- type: build | ||
release: patch | ||
- type: ci | ||
release: patch | ||
- type: hotfix | ||
release: patch | ||
- type: perf | ||
release: patch | ||
- type: docs | ||
scope: README | ||
release: patch | ||
|
||
generateNotes: | ||
- path: "@semantic-release/release-notes-generator" | ||
writerOpts: | ||
groupBy: "type" | ||
commitGroupsSort: | ||
- "feat" | ||
- "perf" | ||
- "fix" | ||
- "hotfix" | ||
commitsSort: "header" | ||
presetConfig: | ||
types: | ||
- type: "feat" | ||
section: "Features" | ||
# Tracked bug fix with a hotfix branch | ||
- type: "hotfix" | ||
section: "Bug Fixes" | ||
# Uninmportant fix (CI testing, etc) | ||
- type: "fix" | ||
section: "Bug Fixes" | ||
- type: perf | ||
section: Performance | ||
- type: refactor | ||
section: Refactoring | ||
- type: build | ||
section: Build | ||
- type: ci | ||
section: CI | ||
|
||
prepare: | ||
- path: "@semantic-release/exec" | ||
prepareCmd: | | ||
sed -i "s/\(\"version.*: \"\).*/\1${nextRelease.version}\",/g" package.json | ||
- path: "@semantic-release/changelog" | ||
changelogFile: "docs/CHANGELOG.md" | ||
- path: "@semantic-release/git" | ||
assets: | ||
- "docs/CHANGELOG.md" | ||
- "package.json" | ||
- "package-lock.json" | ||
- "npm-shrinkwrap.json" | ||
message: "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" | ||
- path: "@semantic-release/exec" | ||
prepareCmd: | | ||
echo "prepared" | ||
publish: | ||
- path: "@semantic-release/github" | ||
success: | ||
- path: "@semantic-release/github" | ||
fail: | ||
- path: "@semantic-release/github" |
This file was deleted.
Oops, something went wrong.