Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <[email protected]>
  • Loading branch information
zeitlinger committed Oct 16, 2024
1 parent bb1d210 commit 200e332
Show file tree
Hide file tree
Showing 43 changed files with 70 additions and 42 deletions.
28 changes: 28 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## Update Version

In a new PR, update the version in `pom.xml` using

```shell
mvn versions:set -DnewVersion=<VERSION>
```

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<VERSION> -m "Release v<VERSION>"
git push origin v<VERSION>
```

## 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:

```
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>benchmarks</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>example-exemplars-tail-sampling</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-greeting-service</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>example-exemplars-tail-sampling</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-hello-world-app</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-exemplars-tail-sampling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-exemplars-tail-sampling</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-exporter-httpserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-exporter-httpserver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-exporter-multi-target/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-exporter-multi-target</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-exporter-opentelemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-exporter-opentelemetry</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-exporter-servlet-tomcat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-exporter-servlet-tomcat</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-native-histogram/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-native-histogram</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-prometheus-properties/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-prometheus-properties</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-simpleclient-bridge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>examples</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>example-simpleclient-bridge</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/it-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>integration-tests</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-common</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>it-exporter</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-exporter-httpserver-sample</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>it-exporter</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-exporter-servlet-jetty-sample</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>it-exporter</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-exporter-servlet-tomcat-sample</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/it-exporter/it-exporter-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>it-exporter</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-exporter-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/it-exporter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>integration-tests</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-exporter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/it-pushgateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>integration-tests</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>it-pushgateway</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>integration-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>

<name>Prometheus Metrics Library</name>
<url>http://github.com/prometheus/client_java</url>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-bom</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-config</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exporter-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exporter-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exporter-httpserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exporter-httpserver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exporter-opentelemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exporter-opentelemetry</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exporter-pushgateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exporter-pushgateway</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exporter-servlet-jakarta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exporter-servlet-jakarta</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exporter-servlet-javax/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exporter-servlet-javax</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-exposition-formats/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-exposition-formats</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-instrumentation-caffeine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-instrumentation-caffeine</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-instrumentation-dropwizard5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-instrumentation-dropwizard5</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-instrumentation-guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-instrumentation-guava</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-instrumentation-jvm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-instrumentation-jvm</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-simpleclient-bridge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-simpleclient-bridge</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion prometheus-metrics-tracer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-tracer</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>prometheus-metrics-tracer</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-tracer-common</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>prometheus-metrics-tracer</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>0.0.1-releasetest1</version>
</parent>

<artifactId>prometheus-metrics-tracer-initializer</artifactId>
Expand Down
Loading

0 comments on commit 200e332

Please sign in to comment.