mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: migrate to Nyx v2
This commit is contained in:
@@ -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
@@ -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("")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user