Skip to content

Commit fdb0c57

Browse files
authored
Post release v1.21.0 (#20)
1 parent f39b15a commit fdb0c57

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
- name: Build and publish artifacts
2525
uses: gradle/gradle-build-action@v2
2626
with:
27-
# TODO(jack-berg): remove closeSonatypeStagingRepository and add closeAndReleaseSonatypeStagingRepository when confident in release process
28-
arguments: assemble publishToSonatype closeSonatypeStagingRepository
27+
arguments: assemble publishToSonatype closeAndReleaseSonatypeStagingRepository
2928
env:
3029
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
3130
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
@@ -108,7 +107,6 @@ jobs:
108107
gh release create --target $GITHUB_REF_NAME \
109108
--title "Version $VERSION" \
110109
--notes-file /tmp/release-notes.txt \
111-
--discussion-category announcements \
112110
v$VERSION
113111
114112
echo "version=$VERSION" >> $GITHUB_OUTPUT

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# OpenTelemetry Semantic Conventions for Java
22
[![Continuous Build][ci-image]][ci-url]
3+
[![Maven Central][maven-image]][maven-url]
34

45
Java code-generation for the [OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions).
56

67
## Published released
78

8-
Published releases are available on maven central.
9+
Published releases are available on maven central. Replace `{{version}}` with the latest released version:
910

10-
TODO(jack-berg): insert maven badge indicating latest available release
11+
![GitHub release (with filter)](https://img.shields.io/github/v/release/open-telemetry/semantic-conventions-java)
1112

1213
### Maven
1314

@@ -69,6 +70,6 @@ for code owners.
6970

7071
[ci-image]: https://github.com/open-telemetry/semantic-conventions-java/workflows/Build/badge.svg
7172
[ci-url]: https://github.com/open-telemetry/semantic-conventions-java/actions?query=workflow%3Abuild+branch%3Amain
73+
[maven-url]: https://maven-badges.herokuapp.com/maven-central/io.opentelemetry.semconv/opentelemetry-semconv
7274

7375
TODO(jack-berg): add code coverage badge?
74-
TODO(jack-berg): add maven badge after first release

0 commit comments

Comments
 (0)