Skip to content

Commit

Permalink
release (#1166)
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <[email protected]>
  • Loading branch information
zeitlinger authored Oct 19, 2024
1 parent a2d3b20 commit 21bcfac
Show file tree
Hide file tree
Showing 45 changed files with 49 additions and 50 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: Deploy to Maven Central

#on:
# push:
# tags:
# - v*
on:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
tags:
- "v*.*.*"

jobs:
deploy:
Expand Down
4 changes: 4 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ git tag -a v<VERSION> -m "Release v<VERSION>"
git push origin v<VERSION>
```

This will trigger the release workflow which will deploy the release to Maven Central.

Go to https://central.sonatype.com/publishing/deployments to publish the release to Maven Central.

## Create a Release

1. Go to https://github.com/prometheus/client_java/releases
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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</version>
</parent>

<artifactId>integration-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion otel-agent-resources/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>0.0.1-releasetest1</version>
<version>1.3.2</version>
</parent>

<artifactId>otel-agent-resources</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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 @@ -6,7 +6,7 @@
<parent>
<groupId>io.prometheus</groupId>
<artifactId>client_java</artifactId>
<version>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</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>0.0.1-releasetest1</version>
<version>1.3.2</version>
</parent>

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

0 comments on commit 21bcfac

Please sign in to comment.