1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

Updating build process to match orign.

1. Added make release
2. Builds are placed in _output/local/bin/$(platform) directory
3. Added i386 binaries in release
This commit is contained in:
Maciej Szulik
2015-11-06 11:37:10 +01:00
parent 26aed4e11e
commit cc8a3e7657
9 changed files with 230 additions and 96 deletions

View File

@@ -93,12 +93,12 @@ If you are not updating packages you should not need godep installed.
## Building a Release
To build a S2I release you run the `hack/build-release.sh` script on a system with Docker,
To build a S2I release you run `make release` on a system with Docker,
which will create a build environment image and then execute a cross platform Go build within it. The build
output will be copied to `_output/releases` as a set of tars containing each version.
1. Create a new git tag `git tag v0.X.X -a -m "v0.X.X" HEAD`
2. Push the tag to GitHub `git push origin --tags` where `origin` is `github.com/openshift/source-to-image.git`
4. Run `hack/build-release.sh`
4. Run `make release`
5. Upload the binary artifacts generated by that build to GitHub release page.
6. Send an email to the dev list, including the important changes prior to the release.