-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rmt.yml
43 lines (39 loc) · 1.42 KB
/
.rmt.yml
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
_default:
# VCS CONFIG
vcs: git
# PREREQUISITES
# Actions executed before any questions get asked to the user.
# Custom action can be added by provided a relative path the the php script. Example:
# - relative/path/to/your-own-sript.php
prerequisites:
- working-copy-check
- display-last-changes
- composer-json-check:
composer: composer
- composer-dependency-stability-check:
ignore-require: false
ignore-require-dev: true
pre-release-actions:
- "scripts/RMTDumpVersion.php": ~
# GENERAL CONFIG
# Apply to all branches except the one from the 'branch-specific' section
# Like prerequisites, you can add your own script. Example:
# - relative/path/to/your-own-sript.php
version-generator: simple # Simple versionning
version-persister:
vcs-tag: # Release with VCS tag
tag-prefix: "{branch-name}_" # Prefix any tag with the VCS branch name
post-release-actions:
vcs-publish: # Publish the release to the VCS
ask-confirmation: true
# BRANCH SPECIFIC CONFIG
# On main, we override the general config
main:
version-generator: semantic # More complex versionning (semantic)
version-persister:
vcs-tag:
tag-prefix: '' # No more prefix for tags
pre-release-actions:
changelog-update: # Update a CHANGELOG file before the release
format: semantic
vcs-commit: ~ # Commit the CHANGELOG