Sthope 108d0b2164
Some checks failed
continuous-integration/drone/push Build is failing
perf(): testing sv
2021-09-12 12:37:57 +02:00

73 lines
1.7 KiB
Plaintext

release.config.js
---
branch: master
preset: "angular"
tagFormat: "${version}"
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@saithodev/semantic-release-gitea"
- "@saithodev/semantic-release-gitea"
verifyConditions:
- '@saithodev/semantic-release-gitea'
- "@saithodev/semantic-release-gitea"
analyzeCommits:
- path: "@semantic-release/commit-analyzer"
releaseRules:
- type: "feat"
release: "patch"
- type: "hotfix"
release: "patch"
- type: "patch"
release: "patch"
- type: "minor"
release: "minor"
- type: "breaking"
release: "major"
generateNotes:
- path: "@semantic-release/release-notes-generator"
writerOpts:
groupBy: "type"
commitGroupsSort:
- "feat"
- "perf"
- "fix"
commitsSort: "header"
types:
- type: "feat"
- section: "Features"
# Tracked bug fix with a hotfix branch
- type: "hotfix"
- section: "Bug Fixes"
# Uninmportent fix (CI testing, etc)
- type: "fix"
- hidden: true
- type: "chore"
- hidden: true
- type: "docs"
- hidden: true
- type: "doc"
- hidden: true
- type: "style"
- hidden: true
- type: "refactor"
- hidden: true
- type: "perf"
- hidden: true
- type: "test"
- hidden: true
presetConfig: true
prepare:
- path: "@saithodev/semantic-release-gitea"
- path: "@semantic-release/changelog"
changelogFile: "docs/CHANGELOG.md"
publish:
- path: "@saithodev/semantic-release-gitea"
success:
- "@saithodev/semantic-release-gitea"
fail:
- "@saithodev/semantic-release-gitea"