Skip to content

Commit 82c7d02

Browse files
samdarkvjik
andauthored
Fix #240: Push only release tag (#322)
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent 7ae4f9c commit 82c7d02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App/Command/Release/MakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ protected function processPackage(Package $package): void
182182
'm' => 'Prepare for next release',
183183
]);
184184

185-
if ($this->confirm('Push commits and tags, and release on GitHub?')) {
185+
if ($this->confirm('Push commits and tag, and release on GitHub?')) {
186186
$git->push();
187-
$git->pushTags();
187+
$git->pushTag((string) $versionToRelease);
188188

189189
$this->releaseOnGithub($package, $versionToRelease);
190190

0 commit comments

Comments
 (0)