From 195c1f733e5e388714d7e2b599c406816b134e90 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 24 Nov 2021 13:07:54 -0800 Subject: [PATCH] Remove nebula references (#4704) --- RELEASING.md | 12 ++++-------- settings.gradle.kts | 1 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 017f400198..a3d85c9448 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -2,16 +2,12 @@ OpenTelemetry Auto-Instrumentation for Java uses [SemVer standard](https://semver.org) for versioning of its artifacts. -Instead of manually specifying project version (and by extension the version of built artifacts) -in gradle build scripts, we use [nebula-release-plugin](https://github.com/nebula-plugins/nebula-release-plugin) -to calculate the current version based on git tags. This plugin looks for the latest tag of the form -`vX.Y.Z` on the current branch and calculates the current project version as `vX.Y.(Z+1)-SNAPSHOT`. +The version is specified in [version.gradle.kts](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/version.gradle.kts). ## Snapshot builds -Every successful CI build of the master branch automatically executes `./gradlew snapshot` as the last task. -This signals Nebula plugin to build and publish to -[Sonatype OSS snapshots repository](https://oss.sonatype.org/content/repositories/snapshots/io/opentelemetry/) -next _minor_ release version. This means version `vX.(Y+1).0-SNAPSHOT`. +Every successful CI build of the main branch automatically executes `./gradlew publishToSonatype` +as the last step, which publishes a snapshot build to +[Sonatype OSS snapshots repository](https://oss.sonatype.org/content/repositories/snapshots/io/opentelemetry/). ## Starting the Release diff --git a/settings.gradle.kts b/settings.gradle.kts index 030fac3337..b71bdf0f9f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -8,7 +8,6 @@ pluginManagement { id("org.jetbrains.kotlin.jvm") version "1.5.10" id("org.unbroken-dome.test-sets") version "4.0.0" id("org.xbib.gradle.plugin.jflex") version "1.5.0" - id("nebula.release") version "15.3.1" id("com.github.johnrengelman.shadow") version "7.0.0" id("ru.vyarus.animalsniffer") version "1.5.3" }