Merge pull request #1412 from JackDanger/version-1.2.0

releasing version 1.2.0
This commit is contained in:
Jack Danger 2018-01-10 20:57:58 -05:00 committed by GitHub
commit 272b4802c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 9 deletions

7
.bumpversion.cfg Normal file
View File

@ -0,0 +1,7 @@
[bumpversion]
current_version = 1.2.0
[bumpversion:file:setup.py]
[bumpversion:file:moto/__init__.py]

View File

@ -1,11 +1,18 @@
Moto Changelog Moto Changelog
=================== ===================
Latest 1.2.0
------ ------
* Supports filtering AMIs by self
* Implemented signal_workflow_execution for SWF * Implemented signal_workflow_execution for SWF
* Wired SWF backend to the moto server * Wired SWF backend to the moto server
* Fixed incorrect handling of task list parameter on start_workflow_execution * Revamped lambda function storage to do versioning
* IOT improvements
* RDS improvements
* Implemented CloudWatch get_metric_statistics
* Improved Cloudformation EC2 support
* Implemented Cloudformation change_set endpoints
1.1.25 1.1.25
----- -----

View File

@ -3,7 +3,7 @@ import logging
# logging.getLogger('boto').setLevel(logging.CRITICAL) # logging.getLogger('boto').setLevel(logging.CRITICAL)
__title__ = 'moto' __title__ = 'moto'
__version__ = '1.0.1' __version__ = '1.2.0',
from .acm import mock_acm # flake8: noqa from .acm import mock_acm # flake8: noqa
from .apigateway import mock_apigateway, mock_apigateway_deprecated # flake8: noqa from .apigateway import mock_apigateway, mock_apigateway_deprecated # flake8: noqa

View File

@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
main() { main() {
set -euo pipefail # Bash safemode
local version=$1 local version=$1
if [[ -z "${version}" ]]; then if [[ -z "${version}" ]]; then
echo "USAGE: $0 1.3.2" echo "USAGE: $0 1.3.2"
@ -10,14 +12,12 @@ main() {
return 1 return 1
fi fi
# TODO: replace this with the bumpversion pip package, I couldn't &>/dev/null which bumpversion || pip install bumpversion
# figure out how to use that for these files bumpversion --new-version ${version} patch
sed -i '' "s/version=.*$/version='${version}',/g" setup.py
sed -i '' "s/__version__ = .*$/__version__ = '${version}',/g" moto/__init__.py
git checkout -b version-${version} git checkout -b version-${version}
# Commit the new version # Commit the new version
git commit setup.py -m "bumping to version ${version}" git commit -a -m "bumping to version ${version}"
# Commit an updated IMPLEMENTATION_COVERAGE.md # Commit an updated IMPLEMENTATION_COVERAGE.md
make implementation_coverage || true make implementation_coverage || true
# Open a PR # Open a PR

View File

@ -39,7 +39,7 @@ else:
setup( setup(
name='moto', name='moto',
version='1.1.25', version='1.2.0',
description='A library that allows your python tests to easily' description='A library that allows your python tests to easily'
' mock out the boto library', ' mock out the boto library',
author='Steve Pulec', author='Steve Pulec',