mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Closes: #6890 Some remarks, - `# coding ... utf-8` statements are not needed - isdigit on strings instead of a try-catch. - Default opening mode is read, so we can do `open()` without the `'r'` everywhere - Removed inheritinng from `object` class, it isn't necessary in python3. - `super(ClassName, self)` can now be replaced with `super()` - Use of itertools and `chain` on a couple places dealing with sets. - Used the operator module instead of lambdas when warranted `itemgetter(0)` instead of `lambda x: x[0]` `attrgetter('name')` instead of `lambda x: x.name` - `sorted` returns a list, so no need to use `list(sorted(...))` - Removed `dict()` using dictionary comprehensions whenever possible - Attempted to remove python3.2 support Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
Release HOWTO
The release process is fully automated by Release.Jenkinsfile
.
Usage
- In the appropriate branch, run
./script/release/release.py tag <version>
By appropriate, we mean for a version 1.26.0
or 1.26.0-rc1
you should run the script in the 1.26.x
branch.
The script should check the above then ask for changelog modifications.
After the executions, you should have a commit with the proper bumps for docker-compose version
and run.sh
-
Run
git push --tags upstream <version_branch>
This should trigger a new CI build on the new tag. When the CI finishes with the tests and builds a new draft release would be available on github's releases page. -
Check and confirm the release on github's release page.
-
In case of a GA version, please update
docker-compose
s release notes and version on github documentation repository: