Remove obsolete update_copyright_headers.sh script
Backport Bot / build (push) Waiting to run Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run Details

Closes gh-35142
This commit is contained in:
Sam Brannen 2025-07-01 11:29:21 +02:00
parent 89b8b1a468
commit 0828fe8e1c
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
#!/bin/sh
#
# This shell script updates the copyright headers in source code files
# in the current branch so that the headers conform to the pattern:
# <start-year>-present.
#
# For example, "Copyright 2002-2025" will be replaced with
# "Copyright 2002-current".
#
# This has only been tested on mac OS.
echo Updating copyright headers in Java, Kotlin, and Groovy source code
for file in $(find -E . -type f -regex '.+\.(java|kt|groovy)$' | uniq); do
sed -i '' -E "s/Copyright ([0-9]{4})-[0-9]{4}/Copyright \1-present/g" $file;
done