fix(release-rc): read the project's own artifactId, not the parent's

tag-and-release took the first qbit-* artifactId in the pom, which is the
<parent> qbit-build-parent, so it waited for qbit-build-parent X on Maven
Central and failed (qbit-crm 0.2.0-RC.6). Skip the <parent> block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
james.maesandClaude Opus 5.5 committed 2026-10-16 11:27:21 -05:00
1 parent b28dbbe3f0
commit 56e76e4bf3
1 file changed
+2
+2
View File
@@ -116,7 +116,9 @@ jobs:
echo "::error::QRUN_TAG_SIGNING_KEY is not available (the caller needs 'secrets: inherit'); not creating an unsigned tag. The release captain tags this RC."
exit 1
fi
# The project's own artifactId: skip the <parent> block (qbit-build-parent).
artifact=$(gh api "repos/$REPO/contents/pom.xml?ref=$MERGE_SHA" -q .content | base64 -d \
| sed '/<parent>/,/<\/parent>/d' \
| sed -n 's:.*<artifactId>\(qbit-[^<]*\)</artifactId>.*:\1:p' | head -n 1)
group_path=com/kingsrook/qbits