Skip to content

Commit 9c82d20

Browse files
committed
fix: use 2026 when fixing copyright headers
1 parent 83eaa22 commit 9c82d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monorepo-migration/migrate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ fi
236236

237237
# 7.8 Fix copyright headers in Java files
238238
echo "Fixing copyright headers in Java files..."
239-
find "$SOURCE_REPO_NAME" -name "*.java" -exec python3 -c "import sys, re; p = sys.argv[1]; c = open(p).read(); new_c = re.sub(r'Copyright \d{4} Google (Inc\.|LLC)', 'Copyright 2025 Google LLC', c); open(p, 'w').write(new_c)" {} \;
239+
find "$SOURCE_REPO_NAME" -name "*.java" -exec python3 -c "import sys, re; p = sys.argv[1]; c = open(p).read(); new_c = re.sub(r'Copyright \d{4} Google (Inc\.|LLC)', 'Copyright 2026 Google LLC', c); open(p, 'w').write(new_c)" {} \;
240240

241241
echo "Committing copyright header fixes..."
242242
git add "$SOURCE_REPO_NAME"
243-
git commit -n --no-gpg-sign -m "chore($SOURCE_REPO_NAME): update copyright headers to 2025 Google LLC"
243+
git commit -n --no-gpg-sign -m "chore($SOURCE_REPO_NAME): update copyright headers to 2026 Google LLC"
244244

245245
# 7.9 Modernize root pom.xml
246246
echo "Modernizing root pom.xml..."

0 commit comments

Comments
 (0)