From e24386944fa78a4e936471af31689aa00e029851 Mon Sep 17 00:00:00 2001 From: Mohan Manikanta Date: Tue, 20 Jan 2026 11:11:12 +0530 Subject: [PATCH] Copyright symbol removal to get inline with policy. --- addlicense/tmpl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addlicense/tmpl.go b/addlicense/tmpl.go index d9e9693..bf60bb8 100644 --- a/addlicense/tmpl.go +++ b/addlicense/tmpl.go @@ -144,9 +144,9 @@ const tmplMPL = `This Source Code Form is subject to the terms of the Mozilla Pu License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.` -const tmplSPDX = `Copyright (c){{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }} +const tmplSPDX = `Copyright{{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }} {{ if .SPDXID }}SPDX-License-Identifier: {{.SPDXID}}{{ end }}` -const tmplCopyrightOnly = `Copyright (c){{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }}` +const tmplCopyrightOnly = `Copyright{{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }}` const spdxSuffix = "\n\nSPDX-License-Identifier: {{.SPDXID}}"