Skip to content

Commit 5b1d3fa

Browse files
ethanalee-workgopherbot
authored andcommitted
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 <[email protected]> kokoro-CI: kokoro <[email protected]> Auto-Submit: Ethan Lee <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent aaa56ec commit 5b1d3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/create_migration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Script for creating a new migration file.
88

99
migrate create -ext sql -dir migrations -seq $1
10-
HEADER="-- Copyright 2021 The Go Authors. All rights reserved.
10+
HEADER="-- Copyright $(date +%Y) The Go Authors. All rights reserved.
1111
-- Use of this source code is governed by a BSD-style
1212
-- license that can be found in the LICENSE file.
1313

0 commit comments

Comments
 (0)