Skip to content

Commit 14f80a4

Browse files
committed
chore: integrate version alignment and owlbot formatting into migrate script
1 parent d009d0b commit 14f80a4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

monorepo-migration/migrate.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,18 @@ while read -r bom_pom; do
348348
COMMIT_COUNT=$((COMMIT_COUNT + 1))
349349
done < <(find "$SOURCE_REPO_NAME" -name "pom.xml" | grep "\-bom/pom.xml" | grep -v "samples")
350350

351+
# 7.12b Align all version markers across the monorepo
352+
echo "Aligning all version markers using apply_versions.sh..."
353+
bash generation/apply_versions.sh versions.txt current
354+
355+
# 7.12c Sync all owlbot.py formatting
356+
echo "Syncing all owlbot.py formatting..."
357+
bash generation/update_owlbot_postprocessor_config.sh || true
358+
359+
git add -u
360+
git commit -n --no-gpg-sign -m "chore($SOURCE_REPO_NAME): align versions and format owlbot configurations"
361+
COMMIT_COUNT=$((COMMIT_COUNT + 1))
362+
351363
# 7.8c Exempt module from global integration testing matrix
352364
echo "Exempting $SOURCE_REPO_NAME from global integration testing matrix..."
353365
sed -i.bak "s/'java-storage-nio'/'java-storage-nio'\n '${SOURCE_REPO_NAME}'/" ".kokoro/common.sh"

0 commit comments

Comments
 (0)