-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.rmt.yml
58 lines (54 loc) · 1.92 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
46
47
48
49
50
51
52
53
54
55
56
57
58
_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
php5:
version-generator: semantic # More complex versionning (semantic)
version-persister:
vcs-tag:
tag-pattern: '0\.4\.[0-9]+'
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