diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4925a8870..3e15d8676e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,7 +119,7 @@ jobs: working-directory: ./inspectit-ocelot-documentation/docs run: | find . -type f -print0 | xargs -0 sed -i 's/{inspectit-ocelot-version}/'"${{ github.ref_name }}"'/g' - OPEN_CENSUS_VERSION=$(cat ../../gradle.properties | grep -oP '(?<=openCensusVersion=).*') + OPEN_CENSUS_VERSION=$(grep -oP 'ioOpencensus\s*=\s*"\K[^"]+' ../../gradle/libs.versions.toml) find . -type f -print0 | xargs -0 sed -i 's/{opencensus-version}/'"${OPEN_CENSUS_VERSION}"'/g' - name: Create new Documentation Version run: | diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 789d672898..336718df20 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,6 +3,7 @@ comLinecorpArmeria = "1.23.1" ioGithubNetmikeyLogunit = "1.1.3" ioGrpc = "1.43.3" # Ensure to adapt the netty version when changing the OpenCensus version +# If you rename or move this variable to another file, adjust the release-workflow ioOpencensus = "0.31.1" ioOpentelemetry = "1.29.0" ioOpentelemetryAlpha = "1.29.0-alpha"