Skip to content

Commit 9ebb57d

Browse files
authored
Prepare 1.30.0 rc (#142)
* Prepare changelog for 1.30.0-RC release * Document steps for release candidate * extra whitespace * Fix type, set release date
1 parent bd6601f commit 9ebb57d

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22

3-
## Unreleased
3+
## Version 1.30.0-RC (2025-01-27)
4+
5+
**NOTICE**: This is a release candidate (RC), preceding the first stable release of `io.opentelemetry.semconv:opentelemetry-semconv`.
6+
7+
* **BREAKING**: Prepare for stable release. Remove deprecated `ResourceAttributes`, `SemanticAttributes`.
8+
([#130](https://github.com/open-telemetry/semantic-conventions-java/pull/130))
9+
* Exclude `exception.escaped` from (to-be-stable) artifact
10+
([#133](https://github.com/open-telemetry/semantic-conventions-java/pull/133))
11+
* Remove schema urls for `1.22.0`, `1.23.1`.
12+
([#134](https://github.com/open-telemetry/semantic-conventions-java/pull/134))
13+
* Bump to semantic-conventions v1.30.0
14+
([#141](https://github.com/open-telemetry/semantic-conventions-java/pull/141))
415

516
## Version 1.29.0 (2024-12-19)
617

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ is the need to set the Gradle property `android.useFullClasspathForDexingTransfo
6262
builds. Please see [this](https://github.com/open-telemetry/opentelemetry-android/pull/309)
6363
pull request on the OpenTelemetry Android Extension for details.
6464

65+
## Compatibility
66+
67+
Artifacts from this repository follow semantic versioning, mirroring the versions of the upstream [semantic-conventions](https://github.com/open-telemetry/semantic-conventions) repository. If a patch release is needed for logic in this repository, a release will be published with a fourth version component (i.e. `1.30.0.1` to patch an issue with `1.30.0`).
68+
69+
Stable artifacts (i.e. artifacts without -alpha version suffix) come with strong backwards compatibility guarantees for public APIs.
70+
71+
Compatibility guarantees are inherited from [opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java/blob/main/VERSIONING.md).
72+
6573
## Generating semantic conventions
6674

6775
Requires docker.

RELEASING.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,37 @@ the `semantic-convention` release version, e.g. `v1.21.0.1`
3434
* This workflow will publish artifacts to maven central and will publish a GitHub release with
3535
release notes based on the change log.
3636

37+
## Making release candidate locally
38+
39+
* Follow steps to [prepare a new release](#preparing-a-new-release), but DO NOT [make the release](#making-the-release)
40+
* Check out release branch locally
41+
* Set required environment variables
42+
* `export CI=true` - trick tooling to thinking this is the official release process, and sign artifacts
43+
* `export GPG_PRIVATE_KEY=<private_key>`
44+
* `export GPG_PASSWORD=<password>`
45+
* `export SONATYPE_USER=<user>`
46+
* `export SONATYPE_KEY=<key>`
47+
* Adjust version tag to include `-rc.<num>` suffix (i.e. `-rc.1` for the first release candidate) in [build.gradle.kts](./build.gradle.kts):
48+
49+
```
50+
var ver = semanticConventionsVersion
51+
ver += "-rc.1" // <-- ADD THIS LINE
52+
val release = findProperty("otel.release")
53+
if (release != null) {
54+
ver += "-" + release
55+
}
56+
if (snapshot) {
57+
ver += "-SNAPSHOT"
58+
}
59+
version = ver
60+
```
61+
62+
* Build and publish artifacts to staging repository
63+
* Run `./gradlew assemble publishToSonatype closeSonatypeStagingRepository`
64+
* Notably, this stages the artifacts in sonatype and gives a chance for manual verification before publishing
65+
* Publishing via the sonatype UI
66+
* After publishing, manually create Github release using the contents from the [CHANGELOG.md](./CHANGELOG.md)
67+
3768
## Credentials
3869

3970
See [opentelemetry-java credentials](https://github.com/open-telemetry/opentelemetry-java/blob/main/RELEASING.md#credentials).

0 commit comments

Comments
 (0)