fix publishing for users with no credentials

This commit is contained in:
Pyrbu 2023-04-24 19:11:52 +01:00
parent ef436ac9b7
commit 620b39b22d

@ -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/")
}