-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rmt.yml
44 lines (41 loc) · 1.47 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
44
_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
# - command:
# cmd: composer test
# - command:
# cmd: composer analyze
- command:
cmd: composer fix
# 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 master, we override the general config
master:
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
file: CHANGELOG.md
format: markdown
dump-commits: true
exclude-merge-commits: true
vcs-commit: ~ # Commit the CHANGELOG