From 3e111b129d1c2a2fc02c9b9e86aca62961201bcf Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Tue, 23 Nov 2021 10:07:01 +0100 Subject: [PATCH] build(robo): remove useless build task Signed-off-by: Thierry Bugier --- RoboFile.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/RoboFile.php b/RoboFile.php index 286720298..89eaaaeb1 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -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']); @@ -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";