mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	Fix a comment in hack/lib/version.sh about which tags are used to get the version.
This commit is contained in:
		@@ -62,7 +62,7 @@ kube::version::get_version_vars() {
 | 
				
			|||||||
      fi
 | 
					      fi
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Use git describe to find the version based on annotated tags.
 | 
					    # Use git describe to find the version based on tags.
 | 
				
			||||||
    if [[ -n ${KUBE_GIT_VERSION-} ]] || KUBE_GIT_VERSION=$("${git[@]}" describe --tags --abbrev=14 "${KUBE_GIT_COMMIT}^{commit}" 2>/dev/null); then
 | 
					    if [[ -n ${KUBE_GIT_VERSION-} ]] || KUBE_GIT_VERSION=$("${git[@]}" describe --tags --abbrev=14 "${KUBE_GIT_COMMIT}^{commit}" 2>/dev/null); then
 | 
				
			||||||
      # This translates the "git describe" to an actual semver.org
 | 
					      # This translates the "git describe" to an actual semver.org
 | 
				
			||||||
      # compatible semantic version that looks something like this:
 | 
					      # compatible semantic version that looks something like this:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user