mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 11:37:54 +02:00
fix #948 update license years
This commit is contained in:
@@ -142,8 +142,8 @@ def get_regexs():
|
||||
regexs = {}
|
||||
# Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing
|
||||
regexs["year"] = re.compile( 'YEAR' )
|
||||
# dates can be 2018, company holder names can be anything
|
||||
regexs["date"] = re.compile( '(2018)' )
|
||||
# dates can be 2018, 2019, 2020 company holder names can be anything
|
||||
regexs["date"] = re.compile( '(2018|2019|2020)' )
|
||||
# strip // +build \n\n build constraints
|
||||
regexs["go_build_constraints"] = re.compile(r"^(// \+build.*\n)+\n", re.MULTILINE)
|
||||
# strip #!.* from shell scripts
|
||||
|
||||
Reference in New Issue
Block a user