diff --git a/pom.xml b/pom.xml index 01568b70..aa7e55b7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.aliyun.oss aliyun-sdk-oss - 3.17.1 + 3.17.2 jar Aliyun OSS SDK for Java The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service diff --git a/src/main/resources/versioninfo.properties b/src/main/resources/versioninfo.properties index 3a62bd9c..0ebe5c02 100644 --- a/src/main/resources/versioninfo.properties +++ b/src/main/resources/versioninfo.properties @@ -1 +1 @@ -version=3.17.1 +version=3.17.2 diff --git a/src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java b/src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java index 69e6ffe3..966441c8 100644 --- a/src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java +++ b/src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java @@ -28,7 +28,7 @@ public class VersionUtilTest { @Test public void testGetDefaultUserAgent() { String userAgent = VersionInfoUtils.getDefaultUserAgent(); - assertTrue(userAgent.startsWith("aliyun-sdk-java/3.17.1(")); + assertTrue(userAgent.startsWith("aliyun-sdk-java/3.17.2(")); assertEquals(userAgent.split("/").length, 4); assertEquals(userAgent.split(";").length, 2); assertEquals(userAgent.split("\\(").length, 2); @@ -38,7 +38,7 @@ public void testGetDefaultUserAgent() { @Test public void testGetVersion() { String version = VersionInfoUtils.getVersion(); - assertEquals("3.17.1", version); + assertEquals("3.17.2", version); } }