From cebe95e7cdc3d5db09c81ca932b36ae50e7d49b2 Mon Sep 17 00:00:00 2001 From: Cesar Munoz <56847527+LikeTheSalad@users.noreply.github.com> Date: Tue, 9 Apr 2024 11:49:53 +0200 Subject: [PATCH] Adding '-alpha' to all modules' versions --- android-agent/build.gradle.kts | 4 ---- buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/android-agent/build.gradle.kts b/android-agent/build.gradle.kts index 3d5e5dcda..388e7d062 100644 --- a/android-agent/build.gradle.kts +++ b/android-agent/build.gradle.kts @@ -1,12 +1,8 @@ - plugins { id("otel.android-library-conventions") id("otel.publish-conventions") } -// This submodule is alpha and is not yet intended to be used by itself -version = project.version.toString().replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1") - android { namespace = "io.opentelemetry.android" diff --git a/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts b/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts index 9b67d5a15..a5c7c6bfc 100644 --- a/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts @@ -5,6 +5,8 @@ plugins { id("signing") } +version = project.version.toString().replaceFirst("(-SNAPSHOT)?$".toRegex(), "-alpha$1") + val isARelease = System.getenv("CI") != null val android = extensions.findByType(LibraryExtension::class.java)