From 5b1d3fae21499c79de12ba167b6b3b6a02ffa5f5 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 17 Nov 2025 13:06:29 -0500 Subject: 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 kokoro-CI: kokoro Auto-Submit: Ethan Lee LUCI-TryBot-Result: Go LUCI --- devtools/create_migration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.3