elastic / elastic-otel-java

Apache License 2.0
10 stars 9 forks source link

feat: release process #145

Closed amannocci closed 5 months ago

amannocci commented 5 months ago

What is the change being made?

Why is the change being made?

SylvainJuge commented 5 months ago

@SylvainJuge, what's the required target goal? The same as

https://github.com/elastic/elastic-otel-java/blob/dc4c6eab3d4ecd00155e1d1cd4b7722364165673/.ci/snapshot.sh#L31

?

It's the same as the snapshot, so:

 publishArg='publishToSonatype closeAndReleaseStagingRepository'

When run with a non-snapshot version it should publish to the releases repository.

amannocci commented 5 months ago

@SylvainJuge, what's the required target goal? The same as https://github.com/elastic/elastic-otel-java/blob/dc4c6eab3d4ecd00155e1d1cd4b7722364165673/.ci/snapshot.sh#L31

?

It's the same as the snapshot, so:

 publishArg='publishToSonatype closeAndReleaseStagingRepository'

When run with a non-snapshot version it should publish to the releases repository.

Ref: https://github.com/elastic/elastic-otel-java/pull/145/commits/e1864cd9d6ea4a570a2e0214a7691ea3ad77a918