-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
.rmt.yml
45 lines (42 loc) · 1.54 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
45
_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 run-script test
- command:
cmd: composer run-script analyze
- command:
cmd: composer run-script 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
v6:
version-generator: semantic # More complex versionning (semantic)
version-persister:
vcs-tag:
tag-pattern: '6\.[0-9]+\.[0-9]+'
tag-prefix: '' # No more prefix for tags
pre-release-actions:
changelog-update: # Update a CHANGELOG file before the release
file: CHANGELOG/CHANGELOG_v6.md
format: markdown
dump-commits: true
exclude-merge-commits: true
vcs-commit: ~ # Commit the CHANGELOG