diff --git a/.bumpversion.cfg b/.bumpversion.cfg index c8ed07c36..9dcfe955b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,18 +1,21 @@ [bumpversion] commit = True tag = True -current_version = 2.0.0 +current_version = 2.0.1 parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? -serialize = - {major}.{minor}.{patch}-{release} - {major}.{minor}.{patch} +serialize = + {major}.{minor}.{patch}-{release} + {major}.{minor}.{patch} [bumpversion:file:build.gradle] + [bumpversion:file:README.md] + [bumpversion:file:src/main/java/com/nexmo/client/HttpWrapper.java] [bumpversion:part:release] optional_value = ignoreme -values = - prerelease - ignoreme +values = + prerelease + ignoreme + diff --git a/README.md b/README.md index b0600741d..78edf8c15 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ repositories { } dependencies { - compile 'com.nexmo:client:2.0.0' + compile 'com.nexmo:client:2.0.1' } ``` @@ -40,7 +40,7 @@ Add the following to the correct place in your project's POM file: com.nexmo client - 2.0.0 + 2.0.1 ``` diff --git a/build.gradle b/build.gradle index 8cb19c862..f1fb811c5 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'eclipse' group = "com.nexmo" archivesBaseName = "client" -version = "2.0.0" +version = "2.0.1" sourceCompatibility = "1.7" targetCompatibility = "1.7" diff --git a/src/main/java/com/nexmo/client/HttpWrapper.java b/src/main/java/com/nexmo/client/HttpWrapper.java index d57705743..8f7b3b6f6 100644 --- a/src/main/java/com/nexmo/client/HttpWrapper.java +++ b/src/main/java/com/nexmo/client/HttpWrapper.java @@ -85,7 +85,7 @@ protected HttpClient createHttpClient() { return HttpClientBuilder.create() .setConnectionManager(connectionManager) - .setUserAgent("nexmo-java/2.0.0") + .setUserAgent("nexmo-java/2.0.1") .setDefaultRequestConfig(requestConfig) .build(); }