open-telemetry / opentelemetry-proto-java

Java Bindings for the OpenTelemetry Protocol (OTLP)
https://opentelemetry.io
Apache License 2.0
15 stars 12 forks source link

Add build tooling to support releasing patches, i.e. 1.3.2.1 #18

Closed jack-berg closed 2 months ago

jack-berg commented 2 months ago

Build tooling to release patches when there is no corresponding release from opentelemetry-proto.

For example, to release a patch for 1.3.2:

See https://github.com/open-telemetry/opentelemetry-proto-java/pull/17 for more info.

jack-berg commented 2 months ago

The release was successfully staged to sonatype, but failed to finish publishing: https://github.com/open-telemetry/opentelemetry-proto-java/actions/runs/11111731756/job/30872304418

  • What went wrong: Execution failed for task ':release'. version should not be set in build file when using nebula-release plugin. Instead use -Prelease.version parameter

So weird for the nebula plugin to partially succeed, only to have a later task reject the way that release.version is specified.

Screenshot 2024-09-30 at 1 37 20 PM

jack-berg commented 2 months ago

Also weird that two artifacts ended up in sonatype: 1.3.2 and 1.3.2.1.

🤔

Obviously I should go and fix this, but I'm also tempted to close (i.e. release) the staged 1.3.2.1 artifact.