mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Remove obsolete update_copyright_headers.sh script
Closes gh-35142
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user