[jmx-scraper] Add jmx-scraper jar to release artifacts (#2085)

This commit is contained in:
Matthew Ho 2025-08-15 13:08:58 -07:00 committed by GitHub
parent ccda30ab11
commit da9244c2ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -181,12 +181,18 @@ jobs:
run: |
cp jmx-metrics/build/libs/opentelemetry-jmx-metrics-$VERSION-alpha.jar opentelemetry-jmx-metrics.jar
cp jmx-metrics/build/libs/opentelemetry-jmx-metrics-$VERSION-alpha.jar.asc opentelemetry-jmx-metrics.jar.asc
cp jmx-scraper/build/libs/opentelemetry-jmx-scraper-$VERSION-alpha.jar opentelemetry-jmx-scraper.jar
cp jmx-scraper/build/libs/opentelemetry-jmx-scraper-$VERSION-alpha.jar opentelemetry-jmx-scraper.jar.asc
gh release create --target $GITHUB_REF_NAME \
--title "Version $VERSION" \
--notes-file /tmp/release-notes.txt \
v$VERSION \
opentelemetry-jmx-metrics.jar \
opentelemetry-jmx-metrics.jar.asc
opentelemetry-jmx-metrics.jar.asc \
opentelemetry-jmx-scraper.jar \
opentelemetry-jmx-scraper.jar.asc
echo "version=$VERSION" >> $GITHUB_OUTPUT