Skip to content

Commit 40279d6

Browse files
committed
skip updating copyright years
1 parent 24f7a85 commit 40279d6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

monorepo-migration/migrate.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ find "$SOURCE_REPO_NAME" -maxdepth 1 -name "*.md" ! -name "CHANGELOG.md" ! -name
188188

189189
# 7. Commit the migration
190190
echo "Committing migration..."
191+
git add "$SOURCE_REPO_NAME"
191192
git commit -n --no-gpg-sign -m "chore($SOURCE_REPO_NAME): migrate $SOURCE_REPO_NAME into monorepo"
192193
COMMIT_COUNT=$((COMMIT_COUNT + 1))
193194

@@ -242,6 +243,7 @@ if [ -d "$SOURCE_REPO_NAME/.github/workflows" ]; then
242243

243244
# Cleanup empty .github directory if it exists
244245
rm -rf "$SOURCE_REPO_NAME/.github"
246+
git add -- "$SOURCE_REPO_NAME/.github"
245247

246248
echo "Committing workflow migration..."
247249
git add .github/workflows
@@ -313,13 +315,13 @@ if [ -f "$SOURCE_DIR/owlbot.py" ]; then
313315
fi
314316

315317
# 7.9 Fix copyright headers in Java files
316-
echo "Fixing copyright headers in Java files..."
317-
python3 "$FIX_COPYRIGHT_SCRIPT" "$SOURCE_REPO_NAME"
318+
# echo "Fixing copyright headers in Java files..."
319+
# python3 "$FIX_COPYRIGHT_SCRIPT" "$SOURCE_REPO_NAME"
318320

319-
echo "Committing copyright header fixes..."
320-
git add "$SOURCE_REPO_NAME"
321-
git commit -n --no-gpg-sign -m "chore($SOURCE_REPO_NAME): update copyright headers to 2026 Google LLC"
322-
COMMIT_COUNT=$((COMMIT_COUNT + 1))
321+
# echo "Committing copyright header fixes..."
322+
# git add "$SOURCE_REPO_NAME"
323+
# git commit -n --no-gpg-sign -m "chore($SOURCE_REPO_NAME): update copyright headers to 2026 Google LLC"
324+
# COMMIT_COUNT=$((COMMIT_COUNT + 1))
323325

324326
# 7.11 Modernize root pom.xml
325327
echo "Modernizing root pom.xml..."

0 commit comments

Comments
 (0)