Skip to content

Commit

Permalink
updated robofile to publish tags
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Aug 4, 2016
1 parent f82b673 commit a5a57fd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function release($opts = ['beta' => false])
$stable = false;
$this->say('non-stable release');
}

$releaseDescription = $this->ask("Description of Release\n");

$this->docs();
Expand All @@ -98,11 +98,9 @@ public function release($opts = ['beta' => false])
if ($stable) $this->pharPublish();
$this->publish();

$this->taskGitHubRelease(\Robo\Runner::VERSION)
->user($this->ask('User releasing'))
->password($this->askHidden('Password'))
->uri('Codegyre/Robo')
->description($releaseDescription)
$this->taskGitStack()
->tag(\Robo\Runner::VERSION)
->push('origin master --tags')
->run();

if ($stable) $this->versionBump();
Expand Down

0 comments on commit a5a57fd

Please sign in to comment.