-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nyx.yml
56 lines (56 loc) · 1.95 KB
/
.nyx.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
preset: simple
changelog:
path: build/CHANGELOG.md
template: "config/CHANGELOG.tpl"
sections:
"Added": "^feat$"
"Fixed": "^fix$"
substitutions:
"(?m)#([0-9]+)(?s)": "[#%s](https://github.com/{{#environmentVariable}}GITHUB_REPOSITORY_OWNER{{/environmentVariable}}/CursedPublish/issues/%s)"
releaseTypes:
enabled:
- mainline
- integration
- internal
publicationServices:
- github
items:
mainline:
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
filterTags: "^({{configuration.releasePrefix}})?([0-9]\\d*)\\.([0-9]\\d*)\\.([0-9]\\d*)$"
gitPush: "true"
gitTag: "true"
matchBranches: "^(master|main)$"
matchEnvironmentVariables:
CI: "^true$"
matchWorkspaceStatus: "CLEAN"
publish: "true"
integration:
collapseVersions: true
collapsedVersionQualifier: "{{#sanitizeLower}}{{branch}}{{/sanitizeLower}}"
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
filterTags: "^({{configuration.releasePrefix}})?([0-9]\\d*)\\.([0-9]\\d*)\\.([0-9]\\d*)(-(develop|development|integration|latest)(\\.([0-9]\\d*))?)$"
gitCommit: "false"
gitPush: "true"
gitTag: "true"
matchBranches: "^(develop|development|integration|latest)$"
matchWorkspaceStatus: "CLEAN"
publish: "true"
publishPreRelease: "true"
versionRangeFromBranchName: false
internal:
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
collapseVersions: true
collapsedVersionQualifier: "internal"
gitPush: "false"
gitTag: "false"
publish: "false"
publishPreRelease: "true"
services:
github:
type: GITHUB
options:
AUTHENTICATION_TOKEN: "{{#environmentVariable}}GITHUB_TOKEN{{/environmentVariable}}"
REPOSITORY_OWNER: "{{#environmentVariable}}GITHUB_REPOSITORY_OWNER{{/environmentVariable}}"
REPOSITORY_NAME: "CursedPublish"
stateFile: "build/.nyx-state.json"