-
Notifications
You must be signed in to change notification settings - Fork 0
/
atomi_release.yaml
executable file
·181 lines (170 loc) · 4.47 KB
/
atomi_release.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
gitlint: .gitlint
conventionMarkdown:
path: CommitConventions.md
template: |
# Commit Conventions
var___convention_docs___
keywords:
- BREAKING CHANGE
- BREAKING CHANGES
- BREAKING
branches:
- main
specialScopes:
no-release:
desc: Prevent release from happening
release: false
plugins:
- module: '@semantic-release/changelog'
version: 6.0.3
config:
changelogFile: Changelog.md
- module: '@semantic-release/exec'
version: 6.0.3
config:
prepareCmd: ./scripts/ci/publish.sh ${nextRelease.version}
- module: '@semantic-release/git'
version: 10.0.1
config:
message: "release: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
assets:
- chart/**/*.*
- Changelog.md
- docs/developer/CommitConventions.md
- module: 'semantic-release-major-tag'
version: 0.3.2
config:
customTags:
- 'v${major}'
- 'v${major}.${minor}'
- module: '@semantic-release/github'
version: 10.3.5
types:
- type: fix
section: Bug Fixes
desc: Fixes bug in repository
vae:
verb: fix
application: <title>
example: "fix: action wrongly retrieving env var"
scopes:
default:
desc: Generic fixes not under `action` or `config`
release: patch
action:
desc: Fixes in the GitHub action
release: patch
config:
desc: Fixes in configuration
release: false
- type: test
desc: Added automated testing for a section of code
vae:
verb: test
application: <title>
example: "test: user service"
scopes:
default:
desc: Automated testing
release: false
- type: feat
section: Features
desc: Adds a new feature into the action
vae:
verb: add
application: <title> to the GitHub action
example: "feat: generators for random numbers"
scopes:
default:
desc: Adds a new feature into the GitHub action
release: minor
- type: remove
section: Removed
desc: Remove or deprecated features from the action
vae:
verb: remove
application: title
example: "remove: generators for random numbers"
scopes:
default:
desc: Removed or deprecated a features from the action
release: major
- type: docs
desc: Add documentation
section: Documentation Updates
vae:
verb: document
application: <title>
example: "docs(dev): how to setup dev environment"
scopes:
default:
desc: Adds a generic documentation not related to `dev` or `user`
release: false
user:
desc: Adds a user-side documentation
release: false
dev:
desc: Adds a developer-side (contributing) documentation
release: false
- type: ci
desc: Changed the CI pipeline
scopes:
default:
desc: Update CI configuration
release: false
- type: release
desc: Initiate a release (machine initiated)
scopes:
default:
desc: Machine initiated release
release: false
- type: config
desc: Update configuration of the repository
vae:
verb: configure
application: <title>
example: "config(lint): shellcheck to ignore SC2015 for run.sh"
scopes:
default:
desc: Updates the configuration of the repository, not related to the other scopes
release: false
lint:
desc: Add, update or remove linters
release: false
fmt:
desc: Add, update or remove formatters
release: false
build:
desc: Add, update or change build pipelines and generators
release: patch
env:
desc: Add, update or change environment
release: patch
ignore:
desc: Add, update or change ignore configurations
release: false
deps:
desc: Add, update or change ignore dependencies
release: patch
- type: refactor
desc: Refactor the action
vae:
verb: refactor
application: <title>
example: "refactor: install nix and cachix into a single faster step"
scopes:
default:
desc: Refactor the dockerfile
release: patch
- type: deps
desc: Update, add or remove dependencies
scopes:
default:
desc: Update, add or remove dependencies
release: patch
- type: chore
desc: Any chores, uncategorized, or small mistakes (like typos)
scopes:
default:
desc: chores
release: false