diff --git a/api/metrics/build.gradle b/api/metrics/build.gradle index c78ee786ed4..cbac2996e65 100644 --- a/api/metrics/build.gradle +++ b/api/metrics/build.gradle @@ -6,6 +6,10 @@ plugins { id "ru.vyarus.animalsniffer" } +version = "${version}".replaceFirst(/^(\d+)\.(\d+).(\d+)/) { _, major, minor, patch -> + "${major}.${minor}.${patch}-alpha" +} + description = 'OpenTelemetry API' ext.moduleName = "io.opentelemetry.api.metrics" diff --git a/sdk/metrics/build.gradle b/sdk/metrics/build.gradle index deeb132224a..e7b58c7fd95 100644 --- a/sdk/metrics/build.gradle +++ b/sdk/metrics/build.gradle @@ -6,6 +6,10 @@ plugins { id "ru.vyarus.animalsniffer" } +version = "${version}".replaceFirst(/^(\d+)\.(\d+).(\d+)/) { _, major, minor, patch -> + "${major}.${minor}.${patch}-alpha" +} + description = 'OpenTelemetry SDK Metrics' ext.moduleName = "io.opentelemetry.sdk.metrics" ext.propertiesDir = "build/generated/properties/io/opentelemetry/sdk/metrics"