Skip to content

Commit ec817b2

Browse files
traskCopilot
andauthored
Fix release workflow (#2639)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 58d3b86 commit ec817b2

8 files changed

Lines changed: 13 additions & 509 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- common
2727
outputs:
2828
version: ${{ steps.create-github-release.outputs.version }}
29+
prior-version: ${{ steps.create-github-release.outputs.prior-version }}
2930
steps:
3031
- run: |
3132
if [[ $GITHUB_REF_NAME != release/* ]]; then
@@ -185,7 +186,9 @@ jobs:
185186
opentelemetry-jmx-scraper.jar \
186187
opentelemetry-jmx-scraper.jar.asc
187188
189+
# these are used as job outputs
188190
echo "version=$VERSION" >> $GITHUB_OUTPUT
191+
echo "prior-version=$PRIOR_VERSION" >> $GITHUB_OUTPUT
189192
190193
post-release-updates:
191194
permissions:

docs/apidiffs/1.51.0_vs_/opentelemetry-aws-xray.txt renamed to docs/apidiffs/1.51.0_vs_1.50.0/opentelemetry-aws-xray.txt

Lines changed: 3 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,4 @@
1-
Comparing source compatibility of opentelemetry-aws-xray-1.51.0.jar against
2-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AlwaysRecordSampler (not serializable)
3-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
4-
+++ NEW SUPERCLASS: java.lang.Object
5-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AlwaysRecordSampler create(io.opentelemetry.sdk.trace.samplers.Sampler)
6-
+++ NEW METHOD: PUBLIC(+) java.lang.String getDescription()
7-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.trace.samplers.SamplingResult shouldSample(io.opentelemetry.context.Context, java.lang.String, java.lang.String, io.opentelemetry.api.trace.SpanKind, io.opentelemetry.api.common.Attributes, java.util.List<io.opentelemetry.sdk.trace.data.LinkData>)
8-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessor (not serializable)
9-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
10-
+++ NEW SUPERCLASS: java.lang.Object
11-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessor create(io.opentelemetry.api.common.AttributeKey<java.lang.String>, java.util.List<io.opentelemetry.api.common.AttributeKey<java.lang.String>>)
12-
+++ NEW METHOD: PUBLIC(+) boolean isEndRequired()
13-
+++ NEW METHOD: PUBLIC(+) boolean isStartRequired()
14-
+++ NEW METHOD: PUBLIC(+) void onEnd(io.opentelemetry.sdk.trace.ReadableSpan)
15-
+++ NEW METHOD: PUBLIC(+) void onStart(io.opentelemetry.context.Context, io.opentelemetry.sdk.trace.ReadWriteSpan)
16-
+++ NEW CLASS: PUBLIC(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessorBuilder (not serializable)
17-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
18-
+++ NEW SUPERCLASS: java.lang.Object
19-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessor build()
20-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessorBuilder create()
21-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessorBuilder setAttributesKeysToPropagate(java.util.List<io.opentelemetry.api.common.AttributeKey<java.lang.String>>)
22-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessorBuilder setSpanNamePropagationKey(io.opentelemetry.api.common.AttributeKey<java.lang.String>)
23-
+++ NEW CLASS: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsMetricAttributesSpanExporter (not serializable)
24-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
25-
+++ NEW SUPERCLASS: java.lang.Object
26-
+++ NEW METHOD: PUBLIC(+) void close()
27-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.common.CompletableResultCode export(java.util.Collection<io.opentelemetry.sdk.trace.data.SpanData>)
28-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.common.CompletableResultCode flush()
29-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.common.CompletableResultCode shutdown()
30-
+++ NEW CLASS: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsMetricAttributesSpanExporterBuilder (not serializable)
31-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
32-
+++ NEW SUPERCLASS: java.lang.Object
33-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsMetricAttributesSpanExporter build()
34-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AwsMetricAttributesSpanExporterBuilder create(io.opentelemetry.sdk.trace.export.SpanExporter, io.opentelemetry.sdk.resources.Resource)
35-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsMetricAttributesSpanExporterBuilder setGenerator(io.opentelemetry.contrib.awsxray.MetricAttributeGenerator)
36-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AwsSpanMetricsProcessor (not serializable)
37-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
38-
+++ NEW SUPERCLASS: java.lang.Object
39-
+++ NEW METHOD: PUBLIC(+) boolean isEndRequired()
40-
+++ NEW METHOD: PUBLIC(+) boolean isStartRequired()
41-
+++ NEW METHOD: PUBLIC(+) void onEnd(io.opentelemetry.sdk.trace.ReadableSpan)
42-
+++ NEW METHOD: PUBLIC(+) void onStart(io.opentelemetry.context.Context, io.opentelemetry.sdk.trace.ReadWriteSpan)
43-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AwsSpanMetricsProcessorBuilder (not serializable)
44-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
45-
+++ NEW SUPERCLASS: java.lang.Object
46-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsSpanMetricsProcessor build()
47-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AwsSpanMetricsProcessorBuilder create(io.opentelemetry.api.metrics.MeterProvider, io.opentelemetry.sdk.resources.Resource)
48-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsSpanMetricsProcessorBuilder setGenerator(io.opentelemetry.contrib.awsxray.MetricAttributeGenerator)
49-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsSpanMetricsProcessorBuilder setScopeName(java.lang.String)
1+
Comparing source compatibility of opentelemetry-aws-xray-1.51.0.jar against opentelemetry-aws-xray-1.50.0.jar
502
+++ NEW CLASS: PUBLIC(+) ABSTRACT(+) io.opentelemetry.contrib.awsxray.AwsXrayAdaptiveSamplingConfig (not serializable)
513
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
524
+++ NEW SUPERCLASS: java.lang.Object
@@ -157,51 +109,8 @@ Comparing source compatibility of opentelemetry-aws-xray-1.51.0.jar against
157109
+++ NEW METHOD: PUBLIC(+) STATIC(+) boolean isUsedForBoost(io.opentelemetry.contrib.awsxray.AwsXrayAdaptiveSamplingConfig$UsageType)
158110
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AwsXrayAdaptiveSamplingConfig$UsageType valueOf(java.lang.String)
159111
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AwsXrayAdaptiveSamplingConfig$UsageType[] values()
160-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AwsXrayIdGenerator (not serializable)
161-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
162-
+++ NEW SUPERCLASS: java.lang.Object
163-
+++ NEW METHOD: PUBLIC(+) java.lang.String generateSpanId()
164-
+++ NEW METHOD: PUBLIC(+) java.lang.String generateTraceId()
165-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AwsXrayIdGenerator getInstance()
166-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSampler (not serializable)
167-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
168-
+++ NEW SUPERCLASS: java.lang.Object
112+
*** MODIFIED CLASS: PUBLIC FINAL io.opentelemetry.contrib.awsxray.AwsXrayRemoteSampler (not serializable)
113+
=== CLASS FILE FORMAT VERSION: 52.0 <- 52.0
169114
+++ NEW METHOD: PUBLIC(+) void adaptSampling(io.opentelemetry.sdk.trace.ReadableSpan, io.opentelemetry.sdk.trace.data.SpanData)
170-
+++ NEW METHOD: PUBLIC(+) void close()
171-
+++ NEW METHOD: PUBLIC(+) java.lang.String getDescription()
172-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder newBuilder(io.opentelemetry.sdk.resources.Resource)
173115
+++ NEW METHOD: PUBLIC(+) void setAdaptiveSamplingConfig(io.opentelemetry.contrib.awsxray.AwsXrayAdaptiveSamplingConfig)
174116
+++ NEW METHOD: PUBLIC(+) void setSpanExporter(io.opentelemetry.sdk.trace.export.SpanExporter)
175-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.trace.samplers.SamplingResult shouldSample(io.opentelemetry.context.Context, java.lang.String, java.lang.String, io.opentelemetry.api.trace.SpanKind, io.opentelemetry.api.common.Attributes, java.util.List<io.opentelemetry.sdk.trace.data.LinkData>)
176-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder (not serializable)
177-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
178-
+++ NEW SUPERCLASS: java.lang.Object
179-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSampler build()
180-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder setClock(io.opentelemetry.sdk.common.Clock)
181-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder setEndpoint(java.lang.String)
182-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder setInitialSampler(io.opentelemetry.sdk.trace.samplers.Sampler)
183-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder setPollingInterval(java.time.Duration)
184-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerBuilder setPollingInterval(long, java.util.concurrent.TimeUnit)
185-
+++ NEW CLASS: PUBLIC(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerProvider (not serializable)
186-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
187-
+++ NEW SUPERCLASS: java.lang.Object
188-
+++ NEW CONSTRUCTOR: PUBLIC(+) AwsXrayRemoteSamplerProvider()
189-
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.trace.samplers.Sampler createSampler(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties)
190-
+++ NEW METHOD: PUBLIC(+) java.lang.String getName()
191-
+++ NEW CLASS: PUBLIC(+) STATIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.AwsXrayRemoteSamplerProvider$ResourceHolder (not serializable)
192-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
193-
+++ NEW SUPERCLASS: java.lang.Object
194-
+++ NEW CONSTRUCTOR: PUBLIC(+) AwsXrayRemoteSamplerProvider$ResourceHolder()
195-
+++ NEW METHOD: PUBLIC(+) void customize(io.opentelemetry.sdk.autoconfigure.spi.AutoConfigurationCustomizer)
196-
+++ NEW ANNOTATION: java.lang.Deprecated
197-
+++ NEW ANNOTATION: java.lang.Deprecated
198-
+++ NEW INTERFACE: PUBLIC(+) ABSTRACT(+) io.opentelemetry.contrib.awsxray.MetricAttributeGenerator (not serializable)
199-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
200-
+++ NEW SUPERCLASS: java.lang.Object
201-
+++ NEW METHOD: PUBLIC(+) ABSTRACT(+) io.opentelemetry.api.common.Attributes generateMetricAttributesFromSpan(io.opentelemetry.sdk.trace.data.SpanData, io.opentelemetry.sdk.resources.Resource)
202-
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.contrib.awsxray.ResourceHolder (not serializable)
203-
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
204-
+++ NEW SUPERCLASS: java.lang.Object
205-
+++ NEW CONSTRUCTOR: PUBLIC(+) ResourceHolder()
206-
+++ NEW METHOD: PUBLIC(+) void customize(io.opentelemetry.sdk.autoconfigure.spi.AutoConfigurationCustomizer)
207-
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.sdk.resources.Resource getResource()

0 commit comments

Comments
 (0)