"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "hack/lib/version.sh" between
kubernetes-1.18.14.tar.gz and kubernetes-1.18.15.tar.gz

About: Kubernetes is a platform for automating deployment, scaling, and operations of application containers across clusters of hosts (written in "Go"). 1.18.x series.

version.sh  (kubernetes-1.18.14):version.sh  (kubernetes-1.18.15)
skipping to change at line 46 skipping to change at line 46
kube::version::load_version_vars "${KUBE_GIT_VERSION_FILE}" kube::version::load_version_vars "${KUBE_GIT_VERSION_FILE}"
return return
fi fi
# If the kubernetes source was exported through git archive, then # If the kubernetes source was exported through git archive, then
# we likely don't have a git tree, but these magic values may be filled in. # we likely don't have a git tree, but these magic values may be filled in.
# shellcheck disable=SC2016,SC2050 # shellcheck disable=SC2016,SC2050
# Disabled as we're not expanding these at runtime, but rather expecting # Disabled as we're not expanding these at runtime, but rather expecting
# that another tool may have expanded these and rewritten the source (!) # that another tool may have expanded these and rewritten the source (!)
if [[ '%' == "%" ]]; then if [[ '%' == "%" ]]; then
KUBE_GIT_COMMIT='89182bdd065fbcaffefec691908a739d161efc03' KUBE_GIT_COMMIT='73dd5c840662bb066a146d0871216333181f4b64'
KUBE_GIT_TREE_STATE="archive" KUBE_GIT_TREE_STATE="archive"
# When a 'git archive' is exported, the 'tag: v1.18.14' below will look # When a 'git archive' is exported, the 'tag: v1.18.15' below will look
# something like 'HEAD -> release-1.8, tag: v1.8.3' where then 'tag: ' # something like 'HEAD -> release-1.8, tag: v1.8.3' where then 'tag: '
# can be extracted from it. # can be extracted from it.
if [[ 'tag: v1.18.14' =~ tag:\ (v[^ ,]+) ]]; then if [[ 'tag: v1.18.15' =~ tag:\ (v[^ ,]+) ]]; then
KUBE_GIT_VERSION="${BASH_REMATCH[1]}" KUBE_GIT_VERSION="${BASH_REMATCH[1]}"
fi fi
fi fi
local git=(git --work-tree "${KUBE_ROOT}") local git=(git --work-tree "${KUBE_ROOT}")
if [[ -n ${KUBE_GIT_COMMIT-} ]] || KUBE_GIT_COMMIT=$("${git[@]}" rev-parse "HE AD^{commit}" 2>/dev/null); then if [[ -n ${KUBE_GIT_COMMIT-} ]] || KUBE_GIT_COMMIT=$("${git[@]}" rev-parse "HE AD^{commit}" 2>/dev/null); then
if [[ -z ${KUBE_GIT_TREE_STATE-} ]]; then if [[ -z ${KUBE_GIT_TREE_STATE-} ]]; then
# Check if the tree is dirty. default to dirty # Check if the tree is dirty. default to dirty
if git_status=$("${git[@]}" status --porcelain 2>/dev/null) && [[ -z ${git _status} ]]; then if git_status=$("${git[@]}" status --porcelain 2>/dev/null) && [[ -z ${git _status} ]]; then
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)