diff --git a/api/src/main/java/io/opencensus/common/OpenCensusLibraryInformation.java b/api/src/main/java/io/opencensus/common/OpenCensusLibraryInformation.java
index 3e248948e..1019def9d 100644
--- a/api/src/main/java/io/opencensus/common/OpenCensusLibraryInformation.java
+++ b/api/src/main/java/io/opencensus/common/OpenCensusLibraryInformation.java
@@ -29,7 +29,7 @@ public final class OpenCensusLibraryInformation {
*
* @since 0.8
*/
- public static final String VERSION = "0.31.1-SNAPSHOT"; // CURRENT_OPENCENSUS_VERSION
+ public static final String VERSION = "0.31.1"; // CURRENT_OPENCENSUS_VERSION
private OpenCensusLibraryInformation() {}
}
diff --git a/build.gradle b/build.gradle
index 516f70417..09d45fd55 100644
--- a/build.gradle
+++ b/build.gradle
@@ -51,7 +51,7 @@ subprojects {
}
group = "io.opencensus"
- version = "0.31.1-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
+ version = "0.31.1" // CURRENT_OPENCENSUS_VERSION
sourceCompatibility = 1.7
targetCompatibility = 1.7
diff --git a/examples/build.gradle b/examples/build.gradle
index 0c073de26..729b402fc 100644
--- a/examples/build.gradle
+++ b/examples/build.gradle
@@ -31,7 +31,7 @@ repositories {
}
group = "io.opencensus"
-version = "0.31.1-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
+version = "0.31.1" // CURRENT_OPENCENSUS_VERSION
def opencensusVersion = "0.30.0" // LATEST_OPENCENSUS_RELEASE_VERSION
def grpcVersion = "1.32.2" // CURRENT_GRPC_VERSION
diff --git a/examples/pom.xml b/examples/pom.xml
index 819b500b0..879073e78 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -5,7 +5,7 @@
io.opencensus
opencensus-examples
jar
- 0.31.1-SNAPSHOT
+ 0.31.1
opencensus-examples
http://maven.apache.org
diff --git a/examples/spring/servlet/build.gradle b/examples/spring/servlet/build.gradle
index b4effff65..908ffd970 100644
--- a/examples/spring/servlet/build.gradle
+++ b/examples/spring/servlet/build.gradle
@@ -30,7 +30,7 @@ repositories {
}
group = "io.opencensus"
-version = "0.31.1-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
+version = "0.31.1" // CURRENT_OPENCENSUS_VERSION
def opencensusVersion = "0.26.0" // LATEST_OPENCENSUS_RELEASE_VERSION
def prometheusVersion = "0.6.0"
@@ -85,7 +85,7 @@ apply plugin: 'io.spring.dependency-management'
bootJar {
mainClassName = 'com.baeldung.Application'
baseName = 'opencensus-examples-spring-servlet'
- version = "0.31.1-SNAPSHOT" // CURRENT_OPENCENSUS_VERSION
+ version = "0.31.1" // CURRENT_OPENCENSUS_VERSION
}
sourceCompatibility = 1.8
diff --git a/exporters/metrics/ocagent/src/main/java/io/opencensus/exporter/metrics/ocagent/OcAgentNodeUtils.java b/exporters/metrics/ocagent/src/main/java/io/opencensus/exporter/metrics/ocagent/OcAgentNodeUtils.java
index 0206915d5..fe1ebabb2 100644
--- a/exporters/metrics/ocagent/src/main/java/io/opencensus/exporter/metrics/ocagent/OcAgentNodeUtils.java
+++ b/exporters/metrics/ocagent/src/main/java/io/opencensus/exporter/metrics/ocagent/OcAgentNodeUtils.java
@@ -39,7 +39,7 @@ final class OcAgentNodeUtils {
// The current version of the OpenCensus OC-Agent Exporter.
@VisibleForTesting
- static final String OC_AGENT_EXPORTER_VERSION = "0.31.1-SNAPSHOT"; // CURRENT_OPENCENSUS_VERSION
+ static final String OC_AGENT_EXPORTER_VERSION = "0.31.1"; // CURRENT_OPENCENSUS_VERSION
@Nullable
private static final io.opencensus.resource.Resource AUTO_DETECTED_RESOURCE =
diff --git a/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/OcAgentNodeUtils.java b/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/OcAgentNodeUtils.java
index b57f94198..c1e556d98 100644
--- a/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/OcAgentNodeUtils.java
+++ b/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/OcAgentNodeUtils.java
@@ -38,7 +38,7 @@ final class OcAgentNodeUtils {
// The current version of the OpenCensus OC-Agent Exporter.
@VisibleForTesting
- static final String OC_AGENT_EXPORTER_VERSION = "0.31.1-SNAPSHOT"; // CURRENT_OPENCENSUS_VERSION
+ static final String OC_AGENT_EXPORTER_VERSION = "0.31.1"; // CURRENT_OPENCENSUS_VERSION
@Nullable
private static final io.opencensus.resource.Resource AUTO_DETECTED_RESOURCE =