Skip to content

Commit be250d1

Browse files
committed
version bump
1 parent 4c86214 commit be250d1

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

RoboFile.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
class Robofile extends \Robo\Tasks
44
{
5-
public function changelog()
5+
public function release()
66
{
7+
$version = file_get_contents('VERSION');
78
// ask for changes in this release
89
$changelog = $this->taskChangelog()
9-
->version(\Robo\Runner::VERSION)
10+
->version($version)
1011
->askForChanges();
1112

1213
// adding changelog and pushing it
@@ -15,8 +16,8 @@ public function changelog()
1516
$this->taskExec('git push')->run();
1617

1718
// create GitHub release
18-
$this->taskGitHubRelease(\Robo\Runner::VERSION)
19-
->uri('Codegyre/Robo')
19+
$this->taskGitHubRelease($version)
20+
->uri('Codeception/Specify')
2021
->askDescription()
2122
->changes($changelog->getChanges())
2223
->run();

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.3
1+
0.3.4

0 commit comments

Comments
 (0)