Skip to content

Commit c72f578

Browse files
committed
Gulp: Prevent paperjs.zip from showing up in NPM packages.
1 parent fbd5eeb commit c72f578

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gulp/tasks/publish.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ gulp.task('publish', function() {
3636
if (options.branch !== 'develop') {
3737
throw new Error('Publishing is only allowed on the develop branch.');
3838
}
39+
// publish:website comes before publish:release, so paperjs.zip file is gone
40+
// before npm publish:
3941
return run(
4042
'publish:json',
4143
'publish:dist',
4244
'publish:packages',
4345
'publish:commit',
44-
'publish:release',
4546
'publish:website',
47+
'publish:release',
4648
'publish:load'
4749
);
4850
});

0 commit comments

Comments
 (0)