From 8e7c83a5b0767e9639b83622e76dddfb9caa74ca Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Wed, 23 Jun 2021 23:56:58 +0000 Subject: [PATCH] chore: preserve original year --- .kokoro/populate-secrets.sh | 2 +- .kokoro/release.sh | 2 +- .kokoro/trampoline.sh | 16 ++++------------ .kokoro/trampoline_v2.sh | 2 +- owlbot.py | 4 ++-- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.kokoro/populate-secrets.sh b/.kokoro/populate-secrets.sh index bf0be603a6..7b511c3257 100755 --- a/.kokoro/populate-secrets.sh +++ b/.kokoro/populate-secrets.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google LLC +# Copyright 2020 Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at diff --git a/.kokoro/release.sh b/.kokoro/release.sh index 49aff02c83..57e2f28ce1 100755 --- a/.kokoro/release.sh +++ b/.kokoro/release.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google LLC +# Copyright 2020 Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index f39236e943..d42a40acbb 100755 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -1,17 +1,9 @@ #!/bin/bash -# Copyright 2017 Google Inc. +# Copyright 2017 Google LLC # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file or at +# https://developers.google.com/open-source/licenses/bsd set -eo pipefail diff --git a/.kokoro/trampoline_v2.sh b/.kokoro/trampoline_v2.sh index 957848c453..591faf816e 100755 --- a/.kokoro/trampoline_v2.sh +++ b/.kokoro/trampoline_v2.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2021 Google LLC +# Copyright 2020 Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at diff --git a/owlbot.py b/owlbot.py index 6aabd78ea7..4830c2f53c 100644 --- a/owlbot.py +++ b/owlbot.py @@ -28,8 +28,8 @@ # with the BSD license expected in this repository s.replace( ".kokoro/**/*", - "# Copyright.*Google LLC.*# limitations under the License\.", - """# Copyright 2021 Google LLC + "# Copyright.*(\d{4}).*# limitations under the License\.", + """# Copyright \g<1> Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at