Skip to content

Commit 19a3980

Browse files
committed
Fix URL to changelog
Add the missing org to the URL. Resolves gh-30
1 parent f22d815 commit 19a3980

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/io/micrometer/release/single/NotificationSender.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,11 @@ private void createPost(String token, String postJson) {
220220

221221
private String createPostJson(String projectName, String versionRef) {
222222
String version = versionRef.startsWith("v") ? versionRef.substring(1) : versionRef;
223-
String postText = "%s %s has been released!\\n\\nCheck out the changelog at https://github.com/%s/releases/tag/%s"
224-
.formatted(projectName, version, projectName, versionRef);
223+
String postText = """
224+
%s %s has been released!
225+
226+
Check out the changelog at https://github.com/micrometer-metrics/%s/releases/tag/%s\
227+
""".formatted(projectName, version, projectName, versionRef);
225228
String facetsJson = createFacetsJson(postText);
226229
return """
227230
{

0 commit comments

Comments
 (0)