Skip to content

Commit

Permalink
improve release (#1187)
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
  • Loading branch information
zeitlinger authored Nov 4, 2024
1 parent 05c6862 commit fc583c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ 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

Wait for the release to appear on Maven Central at
https://mvnrepository.com/artifact/io.prometheus/prometheus-metrics-core.
Once it is available, create a release on Github.

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.
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@
<extensions>true</extensions>
<configuration>
<publishingServerId>ossrh</publishingServerId>
<autoPublish>false</autoPublish>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit fc583c2

Please sign in to comment.