mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	ignore base.go
This commit is contained in:
		@@ -223,8 +223,9 @@ rm -rf "${CLIENT_REPO_TEMP}/staging"
 | 
			
		||||
 | 
			
		||||
if [ "${FAIL_ON_CHANGES}" = true ]; then
 | 
			
		||||
  echo "running FAIL_ON_CHANGES"
 | 
			
		||||
  ret=0
 | 
			
		||||
  if diff --ignore-matching-lines='^\s*\"Comment\"' -NauprB -I "GoVersion.*\|GodepVersion.*" "${CLIENT_REPO}" "${CLIENT_REPO_TEMP}"; then
 | 
			
		||||
  # ignore base.go in diff
 | 
			
		||||
  cp "${CLIENT_REPO}/pkg/version/base.go" "${CLIENT_REPO_TEMP}/pkg/version/"
 | 
			
		||||
  if diff -NauprB  -I '^\s*\"Comment\"' -I "GoVersion.*\|GodepVersion.*" "${CLIENT_REPO}" "${CLIENT_REPO_TEMP}"; then
 | 
			
		||||
    echo "${CLIENT_REPO} up to date."
 | 
			
		||||
    cleanup
 | 
			
		||||
    exit 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user