Skip to content

Commit ace3835

Browse files
authored
Fix command output for the symfony bundle (#1779)
1 parent c1ba5a8 commit ace3835

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

release

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ function generateReleaseCommands(string $changelogPath, string $version): void
143143
throw new \Exception(sprintf('The "%s" composer file does not contains the "name" section', $composerPath));
144144
}
145145

146-
$repo = $composer['name'];
146+
$repo = strtr($composer['name'], [
147+
'async-aws/async-aws-bundle' => 'async-aws/symfony-bundle',
148+
]);
147149
$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);
148150
dump($command);
149151
}

0 commit comments

Comments
 (0)