File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed
Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,19 @@ clean:
236236 rm -rf $(OUT_DIR )
237237.PHONY : clean
238238
239+ # Build an official release of OpenShift for all platforms and the images that depend on it.
240+ #
241+ # Example:
242+ # make release
243+ official-release : build-rpms build-cross
244+ hack/build-images.sh
245+ .PHONY : official-release
246+
239247# Build a release of OpenShift for linux/amd64 and the images that depend on it.
240248#
241249# Example:
242250# make release
243- release : clean build-rpms
251+ release : build-rpms
244252 hack/build-images.sh
245253 hack/extract-release.sh
246254.PHONY : release
@@ -249,7 +257,7 @@ release: clean build-rpms
249257#
250258# Example:
251259# make release-binaries
252- release-binaries : clean
260+ release-binaries :
253261 hack/build-release.sh
254262 hack/extract-release.sh
255263.PHONY : release-binaries
@@ -258,7 +266,7 @@ release-binaries: clean
258266#
259267# Example:
260268# make build-cross
261- build-cross : clean
269+ build-cross :
262270 hack/build-cross.sh
263271.PHONY : build-cross
264272
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ readonly -f os::build::place_bins
388388# built release directory.
389389function os::build::release_sha() {
390390 pushd " ${OS_OUTPUT_RELEASEPATH} " & > /dev/null
391- sha256sum * > CHECKSUM
391+ find . -maxdepth 1 -type f | xargs sha256sum > CHECKSUM
392392 popd & > /dev/null
393393}
394394readonly -f os::build::release_sha
Original file line number Diff line number Diff line change @@ -19,13 +19,12 @@ commit="$( git rev-parse ${tag} )"
1919docker pull " ${OS_BUILD_ENV_IMAGE} "
2020
2121hack/build-base-images.sh
22- OS_GIT_COMMIT=" ${commit} " hack/build-release.sh
23- hack/build-images.sh
24- OS_PUSH_TAG=" ${tag} " OS_TAG=" " OS_PUSH_LOCAL=" 1" hack/push-release.sh
22+ hack/env OS_GIT_COMMIT=" ${commit} " make official-release
23+ OS_PUSH_ALWAYS=1 OS_PUSH_TAG=" ${tag} " OS_TAG=" " OS_PUSH_LOCAL=" 1" hack/push-release.sh
2524
2625echo
2726echo " Pushed ${tag} to DockerHub"
2827echo " 1. Push tag to GitHub with: git push origin --tags # (ensure you have no extra tags in your environment)"
2928echo " 2. Create a new release on the releases page and upload the built binaries in _output/local/releases"
3029echo " 3. Send an email"
31- echo
30+ echo
You can’t perform that action at this time.
0 commit comments