fix publishing for users with no credentials
This commit is contained in:
parent
ef436ac9b7
commit
620b39b22d
1 changed files with 5 additions and 3 deletions
|
@ -85,9 +85,11 @@ publishing {
|
|||
}
|
||||
repositories {
|
||||
maven {
|
||||
credentials {
|
||||
username DIST_USERNAME
|
||||
password DIST_PASSWORD
|
||||
if (DIST_USERNAME != null && DIST_PASSWORD != null) {
|
||||
credentials {
|
||||
username DIST_USERNAME
|
||||
password DIST_PASSWORD
|
||||
}
|
||||
}
|
||||
url = uri("https://repo.pyr.lol/releases/")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue