diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 9dcfe955b..9e716944f 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,10 +1,9 @@ [bumpversion] commit = True tag = True -current_version = 2.0.1 +current_version = 2.0.2 parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? serialize = - {major}.{minor}.{patch}-{release} {major}.{minor}.{patch} [bumpversion:file:build.gradle] @@ -13,9 +12,3 @@ serialize = [bumpversion:file:src/main/java/com/nexmo/client/HttpWrapper.java] -[bumpversion:part:release] -optional_value = ignoreme -values = - prerelease - ignoreme - diff --git a/build.gradle b/build.gradle index f1fb811c5..94055e7b5 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'eclipse' group = "com.nexmo" archivesBaseName = "client" -version = "2.0.1" +version = "2.0.2" 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 8f7b3b6f6..484a289f4 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.1") + .setUserAgent("nexmo-java/2.0.2") .setDefaultRequestConfig(requestConfig) .build(); }