Skip to content

Commit e9069f9

Browse files
Merge pull request #20503 from sdodson/release-3.10
Injecting new required vars into origin.spec file
2 parents 745de5b + 119e1e6 commit e9069f9

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)