Skip to content

Commit 988b45d

Browse files
committed
fixed robofile
1 parent 4013266 commit 988b45d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

RoboFile.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,15 +647,18 @@ public function processChangelog()
647647
foreach ($releases as $release) {
648648
$repo = $release['repo'] ?? 'Codeception';
649649
$isModule = isset($release['repo']);
650-
$changelog .= sprintf("\n\n## %s %s: %s\n\n", $repo, $release['tag_name'], $release['name']);
650+
$changelog .= sprintf("\n\n### %s %s: %s\n\n", $repo, $release['tag_name'], $release['name']);
651651

652-
$changelog .= sprintf("Released by [![](%s)%s](%s) on %s\n",
652+
$changelog .= sprintf("Released by [![](%s) %s](%s) on %s",
653653
$release['author']['avatar_url'] . '&s=16',
654654
$release['author']['login'],
655655
$release['author']['html_url'],
656656
date_format(date_create($release['published_at']),"Y/m/d H:i:s")
657657
);
658658

659+
$changelog .= " / [🦑 Repository](https://github.com/Codeception/$repo) ";
660+
$changelog .= " / [📦 Releases](https://github.com/Codeception/$repo/releases)\n\n";
661+
659662
$body = $release['body'];
660663
//user
661664

@@ -667,8 +670,7 @@ public function processChangelog()
667670
$body
668671
);
669672

670-
$body .= "\n\n\n[🦑 Repository](https://github.com/Codeception/$repo) ";
671-
$body .= " [📦 Releases](https://github.com/Codeception/$repo/releases) ";
673+
672674

673675

674676
$changelog .= "\n\n$body\n";

0 commit comments

Comments
 (0)