mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-04-27 19:45:28 +00:00
Got pre-commit to check for correct copyright year
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright 2021 the Pinniped contributors. All Rights Reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Check if copyright statements include the current year
|
||||
#
|
||||
@@ -16,6 +20,6 @@ if [ -n "$missing_copyright_files" ]; then
|
||||
echo "$year is missing in the copyright notice of the following files:"
|
||||
for f in $missing_copyright_files; do
|
||||
echo " $f"
|
||||
done
|
||||
done
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user