Skip to content

Commit 33006c5

Browse files
committed
updated robofile
1 parent 92b76bd commit 33006c5

File tree

3 files changed

+83
-148
lines changed

3 files changed

+83
-148
lines changed

RoboFile.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ public function release()
77
$this->test();
88

99
$version = file_get_contents('VERSION');
10-
// ask for changes in this release
11-
$changelog = $this->taskChangelog()
12-
->version($version)
13-
->askForChanges()
14-
->run();
1510

1611
// adding changelog and pushing it
1712
$this->taskGit()
@@ -27,6 +22,14 @@ public function release()
2722
->run();
2823
}
2924

25+
public function changed($description)
26+
{
27+
$this->taskChangelog()
28+
->version(file_get_contents('VERSION'))
29+
->change($description)
30+
->run();
31+
}
32+
3033

3134
public function test()
3235
{

0 commit comments

Comments
 (0)