From 200e332bf423fea7baf63df9e2ae0be8b3427bcd Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Wed, 16 Oct 2024 14:25:47 +0200 Subject: [PATCH] release Signed-off-by: Gregor Zeitlinger --- RELEASING.md | 28 +++++++++++++++++++ benchmarks/pom.xml | 2 +- .../example-greeting-service/pom.xml | 2 +- .../example-hello-world-app/pom.xml | 2 +- .../example-exemplars-tail-sampling/pom.xml | 2 +- examples/example-exporter-httpserver/pom.xml | 2 +- .../example-exporter-multi-target/pom.xml | 2 +- .../example-exporter-opentelemetry/pom.xml | 2 +- .../example-exporter-servlet-tomcat/pom.xml | 2 +- examples/example-native-histogram/pom.xml | 2 +- .../example-prometheus-properties/pom.xml | 2 +- examples/example-simpleclient-bridge/pom.xml | 2 +- examples/pom.xml | 2 +- integration-tests/it-common/pom.xml | 2 +- .../it-exporter-httpserver-sample/pom.xml | 2 +- .../it-exporter-servlet-jetty-sample/pom.xml | 2 +- .../it-exporter-servlet-tomcat-sample/pom.xml | 2 +- .../it-exporter/it-exporter-test/pom.xml | 2 +- integration-tests/it-exporter/pom.xml | 2 +- integration-tests/it-pushgateway/pom.xml | 2 +- integration-tests/pom.xml | 2 +- pom.xml | 2 +- prometheus-metrics-bom/pom.xml | 2 +- prometheus-metrics-config/pom.xml | 2 +- prometheus-metrics-core/pom.xml | 2 +- prometheus-metrics-exporter-common/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- prometheus-metrics-exposition-formats/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- prometheus-metrics-model/pom.xml | 2 +- .../pom.xml | 2 +- prometheus-metrics-tracer/pom.xml | 2 +- .../prometheus-metrics-tracer-common/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../prometheus-metrics-tracer-otel/pom.xml | 2 +- 43 files changed, 70 insertions(+), 42 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 039b46fbd..c41524cad 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,3 +1,31 @@ +## Update Version + +In a new PR, update the version in `pom.xml` using + +```shell +mvn versions:set -DnewVersion= +``` + +Commit the changes and open a PR. + +## Publish Release via Github Workflow + +On main branch, create a tag for the new version to trigger the release workflow. + +```sh +git tag -a v -m "Release v" +git push origin v +``` + +## Create a Release + +1. Go to https://github.com/prometheus/client_java/releases +2. Click on "Choose a tag", enter the tag name (e.g. `v0.1.0`), and click "Create a new tag". +3. Click on "Generate release notes" to auto-generate the release notes based on the commits since the last release. +4. Click on "Publish release". + +## Old + Release: ``` diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml index 949b25d73..81156a459 100644 --- a/benchmarks/pom.xml +++ b/benchmarks/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 benchmarks diff --git a/examples/example-exemplars-tail-sampling/example-greeting-service/pom.xml b/examples/example-exemplars-tail-sampling/example-greeting-service/pom.xml index f0d2a6a46..bb152565a 100644 --- a/examples/example-exemplars-tail-sampling/example-greeting-service/pom.xml +++ b/examples/example-exemplars-tail-sampling/example-greeting-service/pom.xml @@ -5,7 +5,7 @@ io.prometheus example-exemplars-tail-sampling - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-greeting-service diff --git a/examples/example-exemplars-tail-sampling/example-hello-world-app/pom.xml b/examples/example-exemplars-tail-sampling/example-hello-world-app/pom.xml index 299cb7656..0a62eee13 100644 --- a/examples/example-exemplars-tail-sampling/example-hello-world-app/pom.xml +++ b/examples/example-exemplars-tail-sampling/example-hello-world-app/pom.xml @@ -5,7 +5,7 @@ io.prometheus example-exemplars-tail-sampling - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-hello-world-app diff --git a/examples/example-exemplars-tail-sampling/pom.xml b/examples/example-exemplars-tail-sampling/pom.xml index 84117e965..85cecfeb2 100644 --- a/examples/example-exemplars-tail-sampling/pom.xml +++ b/examples/example-exemplars-tail-sampling/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-exemplars-tail-sampling diff --git a/examples/example-exporter-httpserver/pom.xml b/examples/example-exporter-httpserver/pom.xml index 575cc479a..97a53e64c 100644 --- a/examples/example-exporter-httpserver/pom.xml +++ b/examples/example-exporter-httpserver/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-exporter-httpserver diff --git a/examples/example-exporter-multi-target/pom.xml b/examples/example-exporter-multi-target/pom.xml index 8b7382275..23ee8b63c 100644 --- a/examples/example-exporter-multi-target/pom.xml +++ b/examples/example-exporter-multi-target/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-exporter-multi-target diff --git a/examples/example-exporter-opentelemetry/pom.xml b/examples/example-exporter-opentelemetry/pom.xml index 057022269..a1cd6c28f 100644 --- a/examples/example-exporter-opentelemetry/pom.xml +++ b/examples/example-exporter-opentelemetry/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-exporter-opentelemetry diff --git a/examples/example-exporter-servlet-tomcat/pom.xml b/examples/example-exporter-servlet-tomcat/pom.xml index f41ba92f4..520141b58 100644 --- a/examples/example-exporter-servlet-tomcat/pom.xml +++ b/examples/example-exporter-servlet-tomcat/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-exporter-servlet-tomcat diff --git a/examples/example-native-histogram/pom.xml b/examples/example-native-histogram/pom.xml index 0d17251ae..ed97c5e46 100644 --- a/examples/example-native-histogram/pom.xml +++ b/examples/example-native-histogram/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-native-histogram diff --git a/examples/example-prometheus-properties/pom.xml b/examples/example-prometheus-properties/pom.xml index 0c910483f..ad68ab386 100644 --- a/examples/example-prometheus-properties/pom.xml +++ b/examples/example-prometheus-properties/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-prometheus-properties diff --git a/examples/example-simpleclient-bridge/pom.xml b/examples/example-simpleclient-bridge/pom.xml index 0e2607f1c..e80429b30 100644 --- a/examples/example-simpleclient-bridge/pom.xml +++ b/examples/example-simpleclient-bridge/pom.xml @@ -5,7 +5,7 @@ io.prometheus examples - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 example-simpleclient-bridge diff --git a/examples/pom.xml b/examples/pom.xml index 0db612f0f..8223caa6d 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 examples diff --git a/integration-tests/it-common/pom.xml b/integration-tests/it-common/pom.xml index 0b779da40..ecf5f9cb2 100644 --- a/integration-tests/it-common/pom.xml +++ b/integration-tests/it-common/pom.xml @@ -5,7 +5,7 @@ io.prometheus integration-tests - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-common diff --git a/integration-tests/it-exporter/it-exporter-httpserver-sample/pom.xml b/integration-tests/it-exporter/it-exporter-httpserver-sample/pom.xml index e44f4396a..16aa565e4 100644 --- a/integration-tests/it-exporter/it-exporter-httpserver-sample/pom.xml +++ b/integration-tests/it-exporter/it-exporter-httpserver-sample/pom.xml @@ -5,7 +5,7 @@ io.prometheus it-exporter - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-exporter-httpserver-sample diff --git a/integration-tests/it-exporter/it-exporter-servlet-jetty-sample/pom.xml b/integration-tests/it-exporter/it-exporter-servlet-jetty-sample/pom.xml index 91b6c39e0..105f43f90 100644 --- a/integration-tests/it-exporter/it-exporter-servlet-jetty-sample/pom.xml +++ b/integration-tests/it-exporter/it-exporter-servlet-jetty-sample/pom.xml @@ -5,7 +5,7 @@ io.prometheus it-exporter - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-exporter-servlet-jetty-sample diff --git a/integration-tests/it-exporter/it-exporter-servlet-tomcat-sample/pom.xml b/integration-tests/it-exporter/it-exporter-servlet-tomcat-sample/pom.xml index 8cb9faa81..15c8e89e3 100644 --- a/integration-tests/it-exporter/it-exporter-servlet-tomcat-sample/pom.xml +++ b/integration-tests/it-exporter/it-exporter-servlet-tomcat-sample/pom.xml @@ -5,7 +5,7 @@ io.prometheus it-exporter - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-exporter-servlet-tomcat-sample diff --git a/integration-tests/it-exporter/it-exporter-test/pom.xml b/integration-tests/it-exporter/it-exporter-test/pom.xml index 4aaf898e7..8b7465d52 100644 --- a/integration-tests/it-exporter/it-exporter-test/pom.xml +++ b/integration-tests/it-exporter/it-exporter-test/pom.xml @@ -6,7 +6,7 @@ io.prometheus it-exporter - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-exporter-test diff --git a/integration-tests/it-exporter/pom.xml b/integration-tests/it-exporter/pom.xml index 1c7066298..cd143e911 100644 --- a/integration-tests/it-exporter/pom.xml +++ b/integration-tests/it-exporter/pom.xml @@ -5,7 +5,7 @@ io.prometheus integration-tests - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-exporter diff --git a/integration-tests/it-pushgateway/pom.xml b/integration-tests/it-pushgateway/pom.xml index 0bb408b33..9d14d4877 100644 --- a/integration-tests/it-pushgateway/pom.xml +++ b/integration-tests/it-pushgateway/pom.xml @@ -5,7 +5,7 @@ io.prometheus integration-tests - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 it-pushgateway diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 4f981f82f..5e9284f25 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 integration-tests diff --git a/pom.xml b/pom.xml index f7d578b48..dac644618 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 Prometheus Metrics Library http://github.com/prometheus/client_java diff --git a/prometheus-metrics-bom/pom.xml b/prometheus-metrics-bom/pom.xml index ccd57519e..b175c9cb1 100644 --- a/prometheus-metrics-bom/pom.xml +++ b/prometheus-metrics-bom/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-bom diff --git a/prometheus-metrics-config/pom.xml b/prometheus-metrics-config/pom.xml index a6c8e008f..2a77f617e 100644 --- a/prometheus-metrics-config/pom.xml +++ b/prometheus-metrics-config/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-config diff --git a/prometheus-metrics-core/pom.xml b/prometheus-metrics-core/pom.xml index 1f1079992..4da7c366e 100644 --- a/prometheus-metrics-core/pom.xml +++ b/prometheus-metrics-core/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-core diff --git a/prometheus-metrics-exporter-common/pom.xml b/prometheus-metrics-exporter-common/pom.xml index e4ef51b74..c4269458c 100644 --- a/prometheus-metrics-exporter-common/pom.xml +++ b/prometheus-metrics-exporter-common/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exporter-common diff --git a/prometheus-metrics-exporter-httpserver/pom.xml b/prometheus-metrics-exporter-httpserver/pom.xml index 1dd7b36fe..35a0c24e3 100644 --- a/prometheus-metrics-exporter-httpserver/pom.xml +++ b/prometheus-metrics-exporter-httpserver/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exporter-httpserver diff --git a/prometheus-metrics-exporter-opentelemetry/pom.xml b/prometheus-metrics-exporter-opentelemetry/pom.xml index 4bb66dc1d..3e293ad39 100644 --- a/prometheus-metrics-exporter-opentelemetry/pom.xml +++ b/prometheus-metrics-exporter-opentelemetry/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exporter-opentelemetry diff --git a/prometheus-metrics-exporter-pushgateway/pom.xml b/prometheus-metrics-exporter-pushgateway/pom.xml index aa02be7c6..889089997 100644 --- a/prometheus-metrics-exporter-pushgateway/pom.xml +++ b/prometheus-metrics-exporter-pushgateway/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exporter-pushgateway diff --git a/prometheus-metrics-exporter-servlet-jakarta/pom.xml b/prometheus-metrics-exporter-servlet-jakarta/pom.xml index c8852f597..7cc114f8f 100644 --- a/prometheus-metrics-exporter-servlet-jakarta/pom.xml +++ b/prometheus-metrics-exporter-servlet-jakarta/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exporter-servlet-jakarta diff --git a/prometheus-metrics-exporter-servlet-javax/pom.xml b/prometheus-metrics-exporter-servlet-javax/pom.xml index b173a3b07..2877f0518 100644 --- a/prometheus-metrics-exporter-servlet-javax/pom.xml +++ b/prometheus-metrics-exporter-servlet-javax/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exporter-servlet-javax diff --git a/prometheus-metrics-exposition-formats/pom.xml b/prometheus-metrics-exposition-formats/pom.xml index 4f2f35422..3abc67b96 100644 --- a/prometheus-metrics-exposition-formats/pom.xml +++ b/prometheus-metrics-exposition-formats/pom.xml @@ -6,7 +6,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-exposition-formats diff --git a/prometheus-metrics-instrumentation-caffeine/pom.xml b/prometheus-metrics-instrumentation-caffeine/pom.xml index 026c1fec7..d8fe77578 100644 --- a/prometheus-metrics-instrumentation-caffeine/pom.xml +++ b/prometheus-metrics-instrumentation-caffeine/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-instrumentation-caffeine diff --git a/prometheus-metrics-instrumentation-dropwizard5/pom.xml b/prometheus-metrics-instrumentation-dropwizard5/pom.xml index 714da9a9e..bcedc6446 100644 --- a/prometheus-metrics-instrumentation-dropwizard5/pom.xml +++ b/prometheus-metrics-instrumentation-dropwizard5/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-instrumentation-dropwizard5 diff --git a/prometheus-metrics-instrumentation-guava/pom.xml b/prometheus-metrics-instrumentation-guava/pom.xml index c3450c48b..19b07a944 100644 --- a/prometheus-metrics-instrumentation-guava/pom.xml +++ b/prometheus-metrics-instrumentation-guava/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-instrumentation-guava diff --git a/prometheus-metrics-instrumentation-jvm/pom.xml b/prometheus-metrics-instrumentation-jvm/pom.xml index fb3458df4..767c0fe61 100644 --- a/prometheus-metrics-instrumentation-jvm/pom.xml +++ b/prometheus-metrics-instrumentation-jvm/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-instrumentation-jvm diff --git a/prometheus-metrics-model/pom.xml b/prometheus-metrics-model/pom.xml index 3c6af3fe3..7d8c0c960 100644 --- a/prometheus-metrics-model/pom.xml +++ b/prometheus-metrics-model/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-model diff --git a/prometheus-metrics-simpleclient-bridge/pom.xml b/prometheus-metrics-simpleclient-bridge/pom.xml index be74a4dec..c5fd6089b 100644 --- a/prometheus-metrics-simpleclient-bridge/pom.xml +++ b/prometheus-metrics-simpleclient-bridge/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-simpleclient-bridge diff --git a/prometheus-metrics-tracer/pom.xml b/prometheus-metrics-tracer/pom.xml index 68e169524..84938cff4 100644 --- a/prometheus-metrics-tracer/pom.xml +++ b/prometheus-metrics-tracer/pom.xml @@ -5,7 +5,7 @@ io.prometheus client_java - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-tracer diff --git a/prometheus-metrics-tracer/prometheus-metrics-tracer-common/pom.xml b/prometheus-metrics-tracer/prometheus-metrics-tracer-common/pom.xml index 40c3d566f..f16f47f4b 100644 --- a/prometheus-metrics-tracer/prometheus-metrics-tracer-common/pom.xml +++ b/prometheus-metrics-tracer/prometheus-metrics-tracer-common/pom.xml @@ -5,7 +5,7 @@ io.prometheus prometheus-metrics-tracer - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-tracer-common diff --git a/prometheus-metrics-tracer/prometheus-metrics-tracer-initializer/pom.xml b/prometheus-metrics-tracer/prometheus-metrics-tracer-initializer/pom.xml index c32ab9aed..51066bd41 100644 --- a/prometheus-metrics-tracer/prometheus-metrics-tracer-initializer/pom.xml +++ b/prometheus-metrics-tracer/prometheus-metrics-tracer-initializer/pom.xml @@ -5,7 +5,7 @@ io.prometheus prometheus-metrics-tracer - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-tracer-initializer diff --git a/prometheus-metrics-tracer/prometheus-metrics-tracer-otel-agent/pom.xml b/prometheus-metrics-tracer/prometheus-metrics-tracer-otel-agent/pom.xml index 3ab18baf1..85c0a8d8e 100644 --- a/prometheus-metrics-tracer/prometheus-metrics-tracer-otel-agent/pom.xml +++ b/prometheus-metrics-tracer/prometheus-metrics-tracer-otel-agent/pom.xml @@ -5,7 +5,7 @@ io.prometheus prometheus-metrics-tracer - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-tracer-otel-agent diff --git a/prometheus-metrics-tracer/prometheus-metrics-tracer-otel/pom.xml b/prometheus-metrics-tracer/prometheus-metrics-tracer-otel/pom.xml index 68dd6c81a..83788e746 100644 --- a/prometheus-metrics-tracer/prometheus-metrics-tracer-otel/pom.xml +++ b/prometheus-metrics-tracer/prometheus-metrics-tracer-otel/pom.xml @@ -5,7 +5,7 @@ io.prometheus prometheus-metrics-tracer - 1.4.0-SNAPSHOT + 0.0.1-releasetest1 prometheus-metrics-tracer-otel