Skip to content

Commit 119e1e6

Browse files
jupiercesdodson
authored andcommitted
Injecting new required vars into origin.spec file
1 parent 745de5b commit 119e1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tito/lib/origin/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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", "KUBE_GIT_MAJOR", "KUBE_GIT_MINOR"]:
3737
git_vars[var_name] = run_command(
3838
"bash -c 'source ./hack/lib/init.sh; os::build::version::git_vars; echo ${}'".format(var_name)
3939
)

0 commit comments

Comments
 (0)