Automator: update common-files@master in istio/api@master (#2494)

This commit is contained in:
Istio Automation 2022-10-05 10:36:39 -07:00 committed by GitHub
parent 2be8da0d50
commit 4fbb3d451f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2016-2020 Istio Authors
Copyright 2016-2022 Istio Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -1 +1 @@
7d0c516aa1d8d1b353ab3c3c350e86f04f936b0b
3bb9227619a8e384d453d92f6e4a167947a6931c

View File

@ -98,6 +98,10 @@ update-common:
@git clone -q --depth 1 --single-branch --branch $(UPDATE_BRANCH) https://github.com/istio/common-files $(TMP)/common-files
@cd $(TMP)/common-files ; git rev-parse HEAD >files/common/.commonfiles.sha
@rm -fr common
@CONTRIB_OVERRIDE=$(shell grep -l "istio/community/blob/master/CONTRIBUTING.md" CONTRIBUTING.md)
@if [ "$(CONTRIB_OVERRIDE)" != "CONTRIBUTING.md" ]; then\
rm $(TMP)/common-files/files/CONTRIBUTING.md;\
fi
@cp -a $(TMP)/common-files/files/* $(shell pwd)
@rm -fr $(TMP)/common-files