Skip to content

Commit 1e98651

Browse files
committed
updated releases
1 parent d20bde0 commit 1e98651

File tree

2 files changed

+285
-176
lines changed

2 files changed

+285
-176
lines changed

RoboFile.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -645,13 +645,13 @@ public function processChangelog()
645645
foreach ($releases as $release) {
646646
$repo = $release['repo'] ?? 'Codeception';
647647
$isModule = isset($release['repo']);
648-
$changelog .= sprintf("\n\n### 🎉 %s %s: %s\n\n", $repo, $release['tag_name'], $release['name']);
648+
$changelog .= sprintf("\n\n## %s %s: %s\n\n", $repo, $release['tag_name'], $release['name']);
649649

650-
$changelog .= sprintf("> Released by **[![](%s) %s](%s) at %s**\n",
650+
$changelog .= sprintf("*Released by [![](%s) %s](%s) on %s*\n",
651651
$release['author']['avatar_url'] . '&s=16',
652652
$release['author']['login'],
653653
$release['author']['html_url'],
654-
$release['published_at']
654+
date_format(date_create($release['published_at']),"Y/m/d H:i:s")
655655
);
656656

657657
$body = $release['body'];
@@ -665,12 +665,9 @@ public function processChangelog()
665665
$body
666666
);
667667

668-
$body .= "\n\n[🦑 Repository](https://github.com/Codeception/$repo) ";
668+
$body .= "\n\n\n[🦑 Repository](https://github.com/Codeception/$repo) ";
669669
$body .= "| [📦 Releases](https://github.com/Codeception/$repo/releases) ";
670-
if ($isModule) {
671-
$body .= "| [📖 Module Docs](/docs/modules/$repo) ";
672-
}
673-
$changelog .= "\n$body\n";
670+
$changelog .= "\n\n$body\n";
674671

675672
}
676673

0 commit comments

Comments
 (0)