Remove nebula references (#4704)

This commit is contained in:
Trask Stalnaker 2021-11-24 13:07:54 -08:00 committed by GitHub
parent 9a4a68d836
commit 195c1f733e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -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

View File

@ -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"
}