Skip to content

Commit

Permalink
Merge pull request #11236 from stevekuznetsov/skuznets/note_release_c…
Browse files Browse the repository at this point in the history
…ommit

Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Oct 14, 2016
2 parents 098e0ee + 83e168e commit d942e98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hack/build-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ OS_GOFLAGS="${OS_GOFLAGS:-} ${OS_IMAGE_COMPILE_GOFLAGS}" os::build::build_static
OS_RELEASE_ARCHIVE="openshift-origin"
OS_BUILD_PLATFORMS=("${platforms[@]}")
os::build::place_bins "${OS_CROSS_COMPILE_BINARIES[@]}"
if [[ "${OS_GIT_TREE_STATE:-dirty}" == "clean" ]]; then
# only when we are building from a clean state can we claim to
# have created a valid set of binaries that can resemble a release
echo "${OS_GIT_COMMIT}" > "${OS_LOCAL_RELEASEPATH}/.commit"
fi

# Make the image binaries release.
OS_RELEASE_ARCHIVE="openshift-origin-image"
Expand Down

0 comments on commit d942e98

Please sign in to comment.