From 056d88229a6ca10a67c0d99011a366308f922d41 Mon Sep 17 00:00:00 2001 From: Jin Seop Kim Date: Mon, 6 Jul 2026 11:03:54 -0400 Subject: [PATCH 1/2] feat(github): automate libraries-bom tag and release creation on publish Adds 'libraries-bom' to create_additional_release_tag.yaml to automatically push the libraries-bom/vX.Y.Z tag and create its GitHub Release page whenever a new monorepo release is published. --- .github/workflows/create_additional_release_tag.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_additional_release_tag.yaml b/.github/workflows/create_additional_release_tag.yaml index e93a801c20c9..206b9fc4cbf8 100644 --- a/.github/workflows/create_additional_release_tag.yaml +++ b/.github/workflows/create_additional_release_tag.yaml @@ -22,8 +22,10 @@ jobs: git config --local user.name "GitHub Action" - name: Create additional tags shell: bash + env: + GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} run: | - ARTIFACT_IDS=('google-cloud-shared-dependencies' 'api-common' 'gax' 'google-cloud-bigtable') + ARTIFACT_IDS=('google-cloud-shared-dependencies' 'api-common' 'gax' 'google-cloud-bigtable' 'libraries-bom') for ARTIFACT_ID in "${ARTIFACT_IDS[@]}"; do VERSION=$(grep "^${ARTIFACT_ID}:" versions.txt | cut -d':' -f2 | tr -d '[:space:]') TAG_NAME="${ARTIFACT_ID}/v$VERSION" @@ -33,4 +35,8 @@ jobs: fi git tag $TAG_NAME git push origin $TAG_NAME + if [ "${ARTIFACT_ID}" = "libraries-bom" ]; then + echo "Creating GitHub Release for ${TAG_NAME}" + gh release create "${TAG_NAME}" --title "GCP Libraries BOM ${VERSION}" --notes "Release notes will be generated shortly." + fi done From d520c14613e8e37d8d34c101c1182995a5ccc45d Mon Sep 17 00:00:00 2001 From: Jin Seop Kim Date: Mon, 6 Jul 2026 11:48:32 -0400 Subject: [PATCH 2/2] chore(github): set standard libraries-bom release notes placeholder --- .github/workflows/create_additional_release_tag.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_additional_release_tag.yaml b/.github/workflows/create_additional_release_tag.yaml index 206b9fc4cbf8..a60c77e835bb 100644 --- a/.github/workflows/create_additional_release_tag.yaml +++ b/.github/workflows/create_additional_release_tag.yaml @@ -37,6 +37,6 @@ jobs: git push origin $TAG_NAME if [ "${ARTIFACT_ID}" = "libraries-bom" ]; then echo "Creating GitHub Release for ${TAG_NAME}" - gh release create "${TAG_NAME}" --title "GCP Libraries BOM ${VERSION}" --notes "Release notes will be generated shortly." + gh release create "${TAG_NAME}" --title "GCP Libraries BOM ${VERSION}" --notes "libraries-bom release." fi done