Skip to content

Commit

Permalink
Add licence and make script use current year
Browse files Browse the repository at this point in the history
  • Loading branch information
KnVerey committed Apr 13, 2023
1 parent 85d623b commit 38d5bf8
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions functions/examples/fn-framework-application/cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2023 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package main

import "sigs.k8s.io/kustomize/functions/examples/fn-framework-application/pkg/dispatcher"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2023 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package dispatcher

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright 2023 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0


set -eo pipefail

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2023 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1_test

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2023 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2023 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

// +groupName=platform.example.com
// +versionName=v1alpha1
// +kubebuilder:validation:Required
Expand Down
2 changes: 1 addition & 1 deletion hack/add-license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ else
fi

args=(
-y 2022
-y $(date +"%Y")
-c "The Kubernetes Authors."
-f LICENSE_TEMPLATE
-ignore "kyaml/internal/forked/github.com/**/*"
Expand Down

0 comments on commit 38d5bf8

Please sign in to comment.