mirror of https://github.com/docker/docs.git
1.1 KiB
1.1 KiB
Building a Compose release
Building binaries
script/build-linux builds the Linux binary inside a Docker container:
$ script/build-linux
script/build-osx builds the Mac OS X binary inside a virtualenv:
$ script/build-osx
For official releases, you should build inside a Mountain Lion VM for proper compatibility. Run the this script first to prepare the environment before building - it will use Homebrew to make sure Python is installed and up-to-date.
$ script/prepare-osx
Release process
- Open pull request that:
- Updates the version in
compose/__init__.py - Updates the binary URL in
docs/install.md - Adds release notes to
CHANGES.md
-
Create unpublished GitHub release with release notes
-
Build Linux version on any Docker host with
script/build-linuxand attach to release -
Build OS X version on Mountain Lion with
script/build-osxand attach to release asdocker-compose-Darwin-x86_64anddocker-compose-Linux-x86_64. -
Publish GitHub release, creating tag
-
Update website with
script/deploy-docs -
Upload PyPi package
$ git checkout $VERSION $ python setup.py sdist upload