Skip to content

Commit 15f9301

Browse files
committed
manually trigger maven sync on javadoc.io post-release
javadoc.io is no longer auto-ingesting doc jars, so we'll poke it after we release to trigger a maven sync
1 parent c0ffa18 commit 15f9301

3 files changed

Lines changed: 414 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# 6. Publish to Maven Central via Sonatype, signed with the project
1616
# GPG key.
1717
# 7. Poll Maven Central until the new version is visible.
18+
# 8. Ask javadoc.io to ingest the new Javadocs.
1819
#
1920
# Re-publishing a failed release: re-run this workflow with the same
2021
# version. If the tag already exists, the tag-creation step is skipped
@@ -156,6 +157,7 @@ jobs:
156157
# braintrust-otel-extension artifact (fat jar, no sources/javadoc)
157158
OTL_EXT_JAR=$(find braintrust-otel-extension/build/libs -name "braintrust-otel-extension-${VERSION}.jar" | head -1)
158159
160+
echo "version=$VERSION" >> $GITHUB_OUTPUT
159161
echo "sdk-main-jar=$SDK_MAIN_JAR" >> $GITHUB_OUTPUT
160162
echo "sdk-sources-jar=$SDK_SOURCES_JAR" >> $GITHUB_OUTPUT
161163
echo "sdk-javadoc-jar=$SDK_JAVADOC_JAR" >> $GITHUB_OUTPUT
@@ -231,3 +233,8 @@ jobs:
231233
VERSION="${TAG#v}"
232234
echo "Waiting for version $VERSION to sync to Maven Central. THIS CAN TAKE MANY HOURS! Godspeed"
233235
./scripts/wait-for-maven.sh "$VERSION"
236+
237+
# javadoc.io is no longer auto-ingesting doc jars, so we'll poke it to trigger an update
238+
- name: Trigger javadoc.io ingestion
239+
continue-on-error: true
240+
run: ./scripts/trigger-javadoc-io.sh "${{ steps.find-artifacts.outputs.version }}"

0 commit comments

Comments
 (0)