forked from estahn/k8s-image-swapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
52 lines (49 loc) · 1.83 KB
/
.releaserc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
#verifyConditions: ['@semantic-release/github']
#prepare: []
#publish: ['@semantic-release/github']
#success: ['@semantic-release/github']
#fail: ['@semantic-release/github']
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@semantic-release/github"
- "@semantic-release/git"
- - "@semantic-release/exec"
- generateNotesCmd: |
echo "${nextRelease.notes}" > /tmp/release-notes.md
verifyReleaseCmd: |
echo "${nextRelease.version}" > /tmp/next-release-version.txt
branch: main
branches:
- '+([0-9])?(.{+([0-9]),x}).x'
- 'main'
- 'next'
- 'next-major'
- {name: 'beta', prerelease: true}
- {name: 'alpha', prerelease: true}
analyzeCommits:
- path: "@semantic-release/commit-analyzer"
releaseRules:
- type: "build"
scope: "deps"
release: "patch"
generateNotes:
- path: "@semantic-release/release-notes-generator"
preset: "conventionalcommits"
presetConfig:
types:
- { type: 'feat', section: ':tada: Features' }
- { type: 'feature', section: ':tada: Features' }
- { type: 'fix', section: ':bug: Bug Fixes' }
- { type: 'perf', section: ':zap: Performance Improvements' }
- { type: 'revert', section: ':rewind: Reverts' }
- { type: 'docs', section: ':memo: Documentation', hidden: false }
- { type: 'style', section: 'Styles', hidden: true }
- { type: 'chore', section: 'Miscellaneous Chores', hidden: true }
- { type: 'refactor', section: 'Code Refactoring', hidden: true }
- { type: 'test', section: ':test_tube: Tests', hidden: true }
- { type: 'build', scope: 'deps', section: ':arrow_up: Dependencies' }
- { type: 'build', section: ':construction_worker: Build System' }
- { type: 'ci', section: 'Continuous Integration', hidden: true }