Added Robo tag task and updated changelog for 1.4.4

Fixes #10
This commit is contained in:
Andrey Savchenko committed 2017-07-05 21:45:27 +03:00
1 parent d2bece68e5
commit 3c0ae866e0
2 files changed
+25

No files matched your search

+17
View File
@@ -77,6 +77,23 @@ class RoboFile extends \Robo\Tasks {
$mustache->loadTemplate( 'laps' );
}
/**
* Updates version in header and makes git version tag.
*
* @param string $version Version string.
*/
public function tag( $version ) {
$this->versionSet( $version );
$this->taskGitStack()
->stopOnFail()
->add( 'laps.php' )
->commit( "Updated header version to {$version}" )
->tag( $version )
->run();
}
/**
* Sets the plugin version in header.
*