This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 303
/
.nyx.yml
100 lines (95 loc) · 2.86 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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_x86_64:
fileName: "androidide-{{version}}-x86_64.apk"
description: "AndroidIDE {{version}} x86_64 release APK"
path: app-x86_64-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
checksums_md5:
fileName: "AndroidIDE-{{version}}-md5-CHECKSUMS.txt"
description: "MD5 Checksums"
path: build/CHECKSUMS-md5.txt
type: text/plain
checksums_sha256:
fileName: "AndroidIDE-{{version}}-sha256-CHECKSUMS.txt"
description: "SHA-256 Checksums"
path: build/CHECKSUMS-sha256.txt
type: text/plain
checksums_sha512:
fileName: "AndroidIDE-{{version}}-sha512-CHECKSUMS.txt"
description: "SHA-512 Checksums"
path: build/CHECKSUMS-sha512.txt
type: text/plain
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}}"
git:
remotes:
origin:
user: '{{#environmentVariable}}GH_TOKEN{{/environmentVariable}}'
password: ''