Kaydet (Commit) 2dcedec7 authored tarafından Joffrey F's avatar Joffrey F

Merge branch 'release'

version = "3.2.0-dev"
version = "3.2.0"
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
Change log
==========
3.2.0
-----
[List of PRs/ issues for this release](https://github.com/docker/docker-py/milestone/45?closed=1)
### Features
* Generators returned by `attach()`, `logs()` and `events()` now have a
`cancel()` method to let consumers stop the iteration client-side.
* `build()` methods can now handle Dockerfiles supplied outside of the
build context.
* Added `sparse` argument to `DockerClient.containers.list()`
* Added `isolation` parameter to `build()` methods.
* Added `close()` method to `DockerClient`
* Added `APIClient.inspect_distribution()` method and
`DockerClient.images.get_registry_data()`
* The latter returns an instance of the new `RegistryData` class
3.1.4
-----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/48?closed=1)
### Bugfixes
* Fixed a bug where build contexts containing directory symlinks would produce
invalid tar archives
3.1.3
-----
### Bugfixes
* Regenerated invalid wheel package
3.1.2
-----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/47?closed=1)
### Bugfixes
* Fixed a bug that led to a Dockerfile not being included in the build context
in some situations when the Dockerfile's path was prefixed with `./`
3.1.1
-----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/46?closed=1)
### Bugfixes
* Fixed a bug that caused costly DNS lookups on Mac OSX when connecting to the
engine through UNIX socket
* Fixed a bug that caused `.dockerignore` comments to be read as exclusion
patterns
3.1.0
-----
......
......@@ -26,6 +26,7 @@ Client reference
.. autoattribute:: swarm
.. autoattribute:: volumes
.. automethod:: close()
.. automethod:: df()
.. automethod:: events()
.. automethod:: info()
......
......@@ -18,6 +18,9 @@ if [ -z $VERSION ]; then
exit 1
fi
echo "##> Removing stale build files"
rm -rf ./build || exit 1
echo "##> Tagging the release as $VERSION"
git tag $VERSION || exit 1
if [[ $2 == 'upload' ]]; then
......@@ -30,4 +33,7 @@ pandoc -f markdown -t rst README.md -o README.rst || exit 1
if [[ $2 == 'upload' ]]; then
echo "##> Uploading sdist to pypi"
python setup.py sdist bdist_wheel upload
else
echo "##> sdist & wheel"
python setup.py sdist bdist_wheel
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment