Skip to content

Commit 51d14e5

Browse files
Merge pull request #20523 from DanyC97/update-tito
Injecting new required vars into origin.spec file
2 parents cb2547f + 1406525 commit 51d14e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.tito/lib/origin/common.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def get_os_git_vars():
3333
git_vars = {}
3434
for var_name in ["OS_GIT_COMMIT", "OS_GIT_VERSION", "OS_GIT_MAJOR", "OS_GIT_MINOR", "OS_GIT_PATCH",
3535
"ETCD_GIT_VERSION", "ETCD_GIT_COMMIT",
36-
"KUBE_GIT_VERSION", "KUBE_GIT_COMMIT"]:
36+
"KUBE_GIT_VERSION", "KUBE_GIT_COMMIT",
37+
"KUBE_GIT_MAJOR", "KUBE_GIT_MINOR"]:
3738
git_vars[var_name] = run_command(
3839
"bash -c 'source ./hack/lib/init.sh; os::build::version::git_vars; echo ${}'".format(var_name)
3940
)

0 commit comments

Comments
 (0)