Skip to content

Commit cfb8558

Browse files
swallezl-trotta
authored andcommitted
(ci) Require Sonatype credentials
1 parent b555bde commit cfb8558

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.ci/make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ if [[ "$CMD" == "release" ]]; then
191191
build_image
192192
echo -e "\033[34;1mINFO:\033[0m Building version ${VERSION}\033[0m"
193193

194-
if [[ "$DRY_RUN" = "false" ]]; then
194+
if [[ "$DRY_RUN" = "true" ]]; then
195195
echo "Dry run: building and publishing to the local repository"
196196
gradle_task="java-client:publishAllPublicationsToBuildRepository"
197197
else

java-client/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ publishing {
140140
name = "MavenCentralSnapshot"
141141
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
142142
credentials {
143-
username = providers.gradleProperty("ossrhUsername").getOrNull()
144-
password = providers.gradleProperty("ossrhPassword").getOrNull()
143+
username = providers.gradleProperty("ossrhUsername").get()
144+
password = providers.gradleProperty("ossrhPassword").get()
145145
}
146146
}
147147
}

0 commit comments

Comments
 (0)