Add badges to ReadMe and corrected CI links in Contributing [skip ci]

This commit is contained in:
2018-11-02 10:48:48 +01:00
parent 405325c08a
commit 4fb675336d
3 changed files with 13 additions and 2 deletions

View File

@ -146,6 +146,12 @@ class RoboFile extends Tasks {
$this->_copy( 'stklcode-liveticker.php', $this->target_dir . '/' . $this->final_name . '/stklcode-liveticker.php' );
$this->_copy( 'README.md', $this->target_dir . '/' . $this->final_name . '/README.md' );
$this->_copy( 'LICENSE.md', $this->target_dir . '/' . $this->final_name . '/LICENSE.md' );
// Remove content before title (e.g. badges) from README file.
$this->taskReplaceInFile( $this->target_dir . '/' . $this->final_name . '/README.md' )
->regex( '/^[^\\#]*/' )
->to( '' )
->run();
}
/**