chore: configure git remotes in nyx config

This commit is contained in:
Akash Yadav
2023-01-07 14:57:57 +05:30
parent b14997be81
commit 233d8a5bf2
2 changed files with 6 additions and 7 deletions
-7
View File
@@ -4,13 +4,6 @@ releasePrefix: "v"
stateFile: build/nyx-state.json
scheme: SEMVER
git:
remotes:
items:
name: "origin"
user: "{{#environment.variable}}GH_TOKEN{{/environment.variable}}"
password: ""
changelog:
path: build/CHANGELOG.md
template: .nyx/CHANGELOG.tpl
+6
View File
@@ -17,6 +17,12 @@ pluginManagement {
plugins { id("com.mooltiverse.oss.nyx") version "1.3.0" }
extensions.configure<NyxExtension> {
git {
remotes.register("origin") {
user.set("{{#environment.variable}}GH_TOKEN{{/environment.variable}}")
password.set("")
}
}
configurationFile.set(".nyx.yml")
}