aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Lee <ethanalee@google.com>2025-11-17 13:06:29 -0500
committerGopher Robot <gobot@golang.org>2025-11-20 12:24:40 -0800
commit5b1d3fae21499c79de12ba167b6b3b6a02ffa5f5 (patch)
tree2239733a3e13ca1ad1e39a917f78bd95d38e2258
parentaaa56eca6e7bcd7644b986f843498a389ac39297 (diff)
downloadgo-x-pkgsite-5b1d3fae21499c79de12ba167b6b3b6a02ffa5f5.tar.xz
devtools: ensure that copyright year is up to date in create_migration
Change-Id: I6a3fe4d964269c1132dd5c8f5a26fa6d8abb8b80 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/721061 Reviewed-by: Robert Findley <rfindley@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com> Auto-Submit: Ethan Lee <ethanalee@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rwxr-xr-xdevtools/create_migration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/create_migration.sh b/devtools/create_migration.sh
index 14ec9ef4..0b27d14c 100755
--- a/devtools/create_migration.sh
+++ b/devtools/create_migration.sh
@@ -7,7 +7,7 @@
# Script for creating a new migration file.
migrate create -ext sql -dir migrations -seq $1
-HEADER="-- Copyright 2021 The Go Authors. All rights reserved.
+HEADER="-- Copyright $(date +%Y) The Go Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style
-- license that can be found in the LICENSE file.