Skip to content

Commit

Permalink
inject alpha into the version for metrics api and sdk. (#2311)
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk authored Dec 16, 2020
1 parent f2ee662 commit 5a93b77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/metrics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 4 additions & 0 deletions sdk/metrics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5a93b77

Please sign in to comment.