This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rmt.yml
48 lines (45 loc) · 1.79 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
_default:
# VCS CONFIG
vcs:
name: git
sign-tag: true
sign-commit: true
# 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:
- command:
cmd: make prerelease
live_output: false
- working-copy-check
- display-last-changes
# 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:
composer-update: ~
update-version-class:
class: omz13\htmlsitemap
changelog-update: # Update a CHANGELOG file before the release
format: semantic
dump-commits: true
exclude-merge-commits: true
command: # because version number updated in composer.json, force update so composer.lock also updated
cmd: composer update --no-dev
vcs-commit: ~ # Commit the changes