Skip to content

Commit

Permalink
build(robo): remove useless build task
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Nov 23, 2021
1 parent 50df31f commit 3e111b1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function archiveBuild($release = 'release') {
// update version in package.json
$this->sourceUpdatePackageJson($version);
if ($release == 'release') {
$this->updateChangelog();
// $this->updateChangelog();
}

$diff = $this->gitDiff(['package.json']);
Expand Down Expand Up @@ -193,11 +193,6 @@ public function archiveBuild($release = 'release') {
// Extract from the repo all files we want to have in the redistribuable archive
$this->_exec("git archive --prefix=$pluginName/ $rev $filesToArchive | tar x -C '$archiveWorkdir'");

// Add extra files to workdir
$success = copy(__DIR__ . '/data/font-awesome_9.5.php', "$archiveWorkdir/$pluginName/data/font-awesome_9.5.php");
if (!$success) {
throw new RuntimeException("failed to generate Font Awesome resources");
}
// Copy SCSS
$srcFile = __DIR__ . '/css_compiled/styles.min.css';
$dstFile = "$archiveWorkdir/$pluginName/css_compiled/styles.min.css";
Expand Down

0 comments on commit 3e111b1

Please sign in to comment.