Skip to content

Commit bd8025c

Browse files
committed
JBDS-4480 DevSuite Installer build fails to upload installers
1 parent 49e3c61 commit bd8025c

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

gulp-tasks/dist-win32.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ module.exports = function(gulp, reqs) {
3535

3636
gulp.task('unzip-7zip', function() {
3737
return gulp.src(zaZip)
38-
.pipe(unzip({ filter : function(entry) { return minimatch(entry.path, '**/7za.exe'); } }))
39-
.pipe(gulp.dest(config.buildFolderRoot));
38+
.pipe(unzip({ filter : function(entry) { return minimatch(entry.path, '**/7za.exe'); } }))
39+
.pipe(gulp.dest(config.buildFolderRoot));
4040
});
4141

4242
gulp.task('unzip-7zip-extra', function(cb) {
@@ -99,7 +99,7 @@ module.exports = function(gulp, reqs) {
9999
});
100100

101101
gulp.task('package-bundle', function(cb) {
102-
runSequence('package-simple', 'clean-old-cache', 'prefetch', 'prefetch-cygwin-packages', 'cleanup', 'package', cb);
102+
runSequence('package-simple', 'clean-old-cache', 'prefetch', 'prefetch-cygwin-packages', 'cleanup', 'package', 'cleanup-dist', cb);
103103
});
104104

105105
// Create both installers
@@ -172,4 +172,8 @@ module.exports = function(gulp, reqs) {
172172
{ force: false });
173173
});
174174

175+
gulp.task('cleanup-dist', function() {
176+
return del([bundled7z, zaExe, zaSfx, zaElectronPackage],
177+
{ force: false });
178+
});
175179
};

0 commit comments

Comments
 (0)