Skip to content

Commit

Permalink
Merge pull request openshift#832 from jupierce/tito_change
Browse files Browse the repository at this point in the history
Change to include -RELEASE in OS_GIT_VERSION
  • Loading branch information
jupierce authored Aug 18, 2017
2 parents f7a5522 + 633bdf1 commit 487536c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .tito/lib/origin/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ def get_os_git_vars():
# but that will not have changed any of the source used for the product
# release and we therefore don't want that reflected in the release version
git_vars["OS_GIT_TREE_STATE"] = "clean"
git_vars["OS_GIT_VERSION"] = git_vars["OS_GIT_VERSION"].split('-')[0].split('+')[0]

# To derive the correct tag for images in 3.7 and beyond,
# oc version must include Release information. Any +metadata can be removed.
git_vars["OS_GIT_VERSION"] = git_vars["OS_GIT_VERSION"].split('+')[0]

# Buildtime variables required to change origin to atomic-openshift
git_vars["OS_BUILD_LDFLAGS_DEFAULT_IMAGE_STREAMS"] = "rhel7"
git_vars["OS_IMAGE_PREFIX"] = "registry.access.redhat.com/openshift3/ose"
Expand Down

0 comments on commit 487536c

Please sign in to comment.