From 85ff9d1fb7edc6a43ece95ad3391795bc6e295ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Wed, 9 Oct 2024 10:14:38 +0200 Subject: [PATCH] Fix command output for the symfony bundle --- release | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release b/release index c20cfa6bb..6f97f9607 100755 --- a/release +++ b/release @@ -143,7 +143,9 @@ function generateReleaseCommands(string $changelogPath, string $version): void throw new \Exception(sprintf('The "%s" composer file does not contains the "name" section', $composerPath)); } - $repo = $composer['name']; + $repo = strtr($composer['name'], [ + 'async-aws/async-aws-bundle' => 'async-aws/symfony-bundle', + ]); $command = sprintf('gh release create %s --title "Release %s" --notes "See [change log](CHANGELOG.md) for changes." --latest --target master --repo %s', $version, $version, $repo); dump($command); }