You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR_NUMBER=$(echo "$PR_DATA"| sed '1,/^[[:space:]]*$/d'| jq -r '.[].number')
95
+
PR_BASE_REF=$(echo "$PR_DATA"| sed '1,/^[[:space:]]*$/d'| jq -r '.[].base.ref')
96
+
if [[ -n"${PR_BASE_REF:-}" ]];then
97
+
echo"PR is https://github.com/datadog/dd-trace-java/pull/${PR_NUMBER} and base ref is ${PR_BASE_REF}">&2
// For testing use with https://hub.docker.com/r/sonatype/nexus
95
+
// For testing, use with https://hub.docker.com/r/sonatype/nexus
92
96
// docker run --rm -d -p 8081:8081 --name nexus sonatype/nexus:oss
93
97
// ./gradlew publishToLocal
94
98
// Doesn't work for testing releases though... (due to staging)
@@ -99,7 +103,13 @@ nexusPublishing {
99
103
allowInsecureProtocol =true
100
104
}
101
105
} else {
106
+
// see https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-central
0 commit comments