File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 24
24
- name : Build and publish artifacts
25
25
uses : gradle/gradle-build-action@v2
26
26
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
29
28
env :
30
29
SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
31
30
SONATYPE_KEY : ${{ secrets.SONATYPE_KEY }}
@@ -108,7 +107,6 @@ jobs:
108
107
gh release create --target $GITHUB_REF_NAME \
109
108
--title "Version $VERSION" \
110
109
--notes-file /tmp/release-notes.txt \
111
- --discussion-category announcements \
112
110
v$VERSION
113
111
114
112
echo "version=$VERSION" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 1
1
# OpenTelemetry Semantic Conventions for Java
2
2
[ ![ Continuous Build] [ ci-image ]] [ ci-url ]
3
+ [ ![ Maven Central] [ maven-image ]] [ maven-url ]
3
4
4
5
Java code-generation for the [ OpenTelemetry Semantic Conventions] ( https://github.com/open-telemetry/semantic-conventions ) .
5
6
6
7
## Published released
7
8
8
- Published releases are available on maven central.
9
+ Published releases are available on maven central. Replace ` {{version}} ` with the latest released version:
9
10
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 )
11
12
12
13
### Maven
13
14
@@ -69,6 +70,6 @@ for code owners.
69
70
70
71
[ ci-image ] : https://github.com/open-telemetry/semantic-conventions-java/workflows/Build/badge.svg
71
72
[ 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
72
74
73
75
TODO(jack-berg): add code coverage badge?
74
- TODO(jack-berg): add maven badge after first release
You can’t perform that action at this time.
0 commit comments