Skip to content

Commit fc583c2

Browse files
authored
improve release (#1187)
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 05c6862 commit fc583c2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

RELEASING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ git push origin v<VERSION>
1919

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

22-
Go to https://central.sonatype.com/publishing/deployments to publish the release to Maven Central.
23-
2422
## Create a Release
2523

24+
Wait for the release to appear on Maven Central at
25+
https://mvnrepository.com/artifact/io.prometheus/prometheus-metrics-core.
26+
Once it is available, create a release on Github.
27+
2628
1. Go to https://github.com/prometheus/client_java/releases
2729
2. Click on "Choose a tag", enter the tag name (e.g. `v0.1.0`), and click "Create a new tag".
2830
3. Click on "Generate release notes" to auto-generate the release notes based on the commits since the last release.

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@
467467
<extensions>true</extensions>
468468
<configuration>
469469
<publishingServerId>ossrh</publishingServerId>
470-
<autoPublish>false</autoPublish>
470+
<autoPublish>true</autoPublish>
471+
<waitUntil>published</waitUntil>
471472
</configuration>
472473
</plugin>
473474
</plugins>

0 commit comments

Comments
 (0)