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 {
172
172
val token = Base64 .getEncoder().encodeToString(" $username :$password " .toByteArray())
173
173
174
174
var query = " ?name=opentelemetry-java-instrumentation-$stableVersion "
175
- // uncomment to automatically publish the release
176
- // query += "&publishingType=AUTOMATIC"
175
+ query + = " &publishingType=AUTOMATIC"
177
176
178
177
doFirst {
179
178
val bundle = generateReleaseBundle.get().outputs.files.singleFile
@@ -190,9 +189,6 @@ tasks {
190
189
)
191
190
.header(" authorization" , " Bearer $token " )
192
191
.build()
193
- httpClient.newCall(request).execute().use { response ->
194
- response.body.string()
195
- }
196
192
197
193
httpClient.newCall(request).execute().use { response ->
198
194
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