Skip to content

Commit 3e111b1

Browse files
committed
build(robo): remove useless build task
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 50df31f commit 3e111b1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

RoboFile.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function archiveBuild($release = 'release') {
150150
// update version in package.json
151151
$this->sourceUpdatePackageJson($version);
152152
if ($release == 'release') {
153-
$this->updateChangelog();
153+
// $this->updateChangelog();
154154
}
155155

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

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

0 commit comments

Comments
 (0)