File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,7 @@ tasks {
172172 val token = Base64 .getEncoder().encodeToString(" $username :$password " .toByteArray())
173173
174174 var query = " ?name=opentelemetry-java-instrumentation-$stableVersion "
175- // uncomment to automatically publish the release
176- // query += "&publishingType=AUTOMATIC"
175+ query + = " &publishingType=AUTOMATIC"
177176
178177 doFirst {
179178 val bundle = generateReleaseBundle.get().outputs.files.singleFile
@@ -190,9 +189,6 @@ tasks {
190189 )
191190 .header(" authorization" , " Bearer $token " )
192191 .build()
193- httpClient.newCall(request).execute().use { response ->
194- response.body.string()
195- }
196192
197193 httpClient.newCall(request).execute().use { response ->
198194 if (response.code != 201 ) throw GradleException (" Unexpected response status ${response.code} while uploading the release bundle" )
You can’t perform that action at this time.
0 commit comments