Skip to content

Commit 19336e1

Browse files
committed
Add link to issues fixed in milestone
See phpmyadmin/phpmyadmin#12796 Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent d7f42c2 commit 19336e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

hooks/create.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,15 @@
3838

3939
$version = implode('.', $parts);
4040

41+
$major_version = implode('.', array_slice($parts, 0, 3));
42+
4143
$result = github_make_release(
4244
'phpmyadmin',
4345
$data['ref'],
4446
$version,
45-
'phpMyAdmin release ' . $version .
46-
', see [release notes](https://www.phpmyadmin.net/files/' . $version . '/).'
47+
'phpMyAdmin release ' . $version . "\n\n" .
48+
'* [Release notes](https://www.phpmyadmin.net/files/' . $version . '/).' . "\n" .
49+
'* [Fixed issues](https://github.com/phpmyadmin/phpmyadmin/issues?q=is%3Aclosed+is%3Aissue+milestone%3A' . $major_version . ")\n"
4750
);
4851

4952
json_response($result);

0 commit comments

Comments
 (0)