Skip to content

Commit

Permalink
Post release v1.21.0 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored Sep 5, 2023
1 parent f39b15a commit fdb0c57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
- name: Build and publish artifacts
uses: gradle/gradle-build-action@v2
with:
# TODO(jack-berg): remove closeSonatypeStagingRepository and add closeAndReleaseSonatypeStagingRepository when confident in release process
arguments: assemble publishToSonatype closeSonatypeStagingRepository
arguments: assemble publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
Expand Down Expand Up @@ -108,7 +107,6 @@ jobs:
gh release create --target $GITHUB_REF_NAME \
--title "Version $VERSION" \
--notes-file /tmp/release-notes.txt \
--discussion-category announcements \
v$VERSION
echo "version=$VERSION" >> $GITHUB_OUTPUT
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# OpenTelemetry Semantic Conventions for Java
[![Continuous Build][ci-image]][ci-url]
[![Maven Central][maven-image]][maven-url]

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

## Published released

Published releases are available on maven central.
Published releases are available on maven central. Replace `{{version}}` with the latest released version:

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

### Maven

Expand Down Expand Up @@ -69,6 +70,6 @@ for code owners.

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

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

0 comments on commit fdb0c57

Please sign in to comment.