fix: migrate to Nyx v2

This commit is contained in:
Akash Yadav
2023-02-13 20:44:59 +05:30
parent 44bb9eee28
commit d94a90b4a1
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ releaseTypes:
- origin
items:
mainline:
description: "{{#file.content}}build/CHANGELOG.md{{/file.content}}"
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
gitPush: true
gitTag: true
publish: true
@@ -40,7 +40,7 @@ releaseTypes:
CI: "^true$"
ReleaseAndroidIDE: "^true$"
internal:
description: "{{#file.content}}build/CHANGELOG.md{{/file.content}}"
description: "{{#fileContent}}build/CHANGELOG.md{{/fileContent}}"
collapseVersions: true
collapsedVersionQualifier: "internal"
gitPush: false
@@ -66,4 +66,4 @@ services:
options:
REPOSITORY_OWNER: "AndroidIDEOfficial"
REPOSITORY_NAME: "AndroidIDE"
AUTHENTICATION_TOKEN: "{{#environment.variable}}GH_TOKEN{{/environment.variable}}"
AUTHENTICATION_TOKEN: "{{#environmentVariable}}GH_TOKEN{{/environmentVariable}}"
+1 -1
View File
@@ -18,7 +18,7 @@ plugins { id("com.mooltiverse.oss.nyx") version "2.2.0" }
extensions.configure<NyxExtension> {
git {
remotes.register("origin") {
user.set("{{#environment.variable}}GH_TOKEN{{/environment.variable}}")
user.set("{{#environmentVariable}}GH_TOKEN{{/environmentVariable}}")
password.set("")
}
}