forked from AndroidIDEOfficial/AndroidIDE
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.nyx.yml
74 lines (70 loc) · 2.06 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
preset: simple
releaseLenient: false
releasePrefix: "v"
stateFile: build/nyx-state.json
scheme: SEMVER
changelog:
path: build/CHANGELOG.md
template: .nyx/CHANGELOG.tpl
sections:
Added: "^feat$"
Fixed: "^fix$"
substitutions:
"(?m)#([0-9]+)(?s)": "[#%s](https://github.com/AndroidIDEOfficial/AndroidIDE/issues/%s)"
releaseAssets:
apk_arm64:
fileName: "androidide-{{version}}-arm64-v8a.apk"
description: "AndroidIDE {{version}} arm64-v8a release APK"
path: app-arm64-v8a-release.apk
type: application/octet-stream
apk_arm:
fileName: "androidide-{{version}}-armeabi-v7a.apk"
description: "AndroidIDE {{version}} armeabi-v7a release APK"
path: app-armeabi-v7a-release.apk
type: application/octet-stream
releaseTypes:
enabled:
- mainline
- internal
publicationServices:
- github
remoteRepositories:
- origin
items:
mainline:
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
gitPush: true
gitTag: true
publish: true
matchBranches: "^(master|main)$"
matchWorkspaceStatus: "CLEAN"
matchEnvironmentVariables:
CI: "^true$"
ReleaseAndroidIDE: "^true$"
internal:
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
collapseVersions: true
collapsedVersionQualifier: "internal"
gitPush: false
gitTag: false
publish: false
identifiers:
-
qualifier: "branch"
value: "{{#sanitizeLower}}{{branch}}{{/sanitizeLower}}"
position: "BUILD"
-
qualifier: "commit"
value: "{{#short7}}{{releaseScope.finalCommit}}{{/short7}}"
position: "BUILD"
-
qualifier: "timestamp"
value: "{{#timestampYYYYMMDDHHMMSS}}{{timestamp}}{{/timestampYYYYMMDDHHMMSS}}"
position: "BUILD"
services:
github:
type: GITHUB
options:
REPOSITORY_OWNER: "AndroidIDEOfficial"
REPOSITORY_NAME: "AndroidIDE"
AUTHENTICATION_TOKEN: "{{#environmentVariable}}GH_TOKEN{{/environmentVariable}}"