diff --git a/check_s3_bucket/__init__.py b/check_s3_bucket/__init__.py
index 3448e7832666efe56608eb1a4ae3bc47c05f219f..6aa6100eaeee67cf9145d7cf6297bed468ac36d9 100755
--- a/check_s3_bucket/__init__.py
+++ b/check_s3_bucket/__init__.py
@@ -22,7 +22,7 @@ except ImportError:
     print("Failed to import pytz.")
     exit(3)
 
-__version__ = "0.2.1"
+__version__ = "0.2.2"
 NOW = datetime.datetime.now(pytz.utc)
 
 
diff --git a/setup.cfg b/setup.cfg
index d72c5c4fe2f1e97f9197f93ce0f138bad818a615..f4c48f7487d465691c259a691ca5246909998197 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 0.2.1
+current_version = 0.2.2
 commit = True
 tag = True
 
diff --git a/setup.py b/setup.py
index 70d1dd11c9fc42212978a727149455f7810b3d50..2859b5d2dae04c0bcb4655ae4f6927803aff9ef3 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
 
 setup(
     name="check_s3_bucket",
-    version="0.2.1",
+    version="0.2.2",
     description="""Check that a file was added to an S3 bucket in the given time
     window and is of a reasonable size.""",
     long_description=open("README.rst", "r").read(),