Skip to content

Commit

Permalink
Don't rename .deb file, as the package follows the standard for .deb …
Browse files Browse the repository at this point in the history
…package names
  • Loading branch information
mmosca committed Dec 25, 2023
1 parent 158dd90 commit 593240c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,18 +597,6 @@ function post_release_deb(arch) {
done();
return null;
}
if ((arch === 'linux32') || (arch === 'linux64')) {
var rename = require("gulp-rename");
const metadata = require('./package.json');
const renameFrom = path.join(appsDir, metadata.name + '_' + metadata.version + '_' + getLinuxPackageArch('.deb', arch) + '.deb');
const renameTo = path.join(appsDir, get_release_filename_base(arch) + '_' + metadata.version + '.deb');
// Rename .deb build to common naming
console.log(`Renaming .deb installer ${renameFrom} to ${renameTo}`);
return gulp.src(renameFrom)
.pipe(rename(renameTo))
.pipe(gulp.dest("."));
}

return done();
}
}
Expand Down

0 comments on commit 593240c

Please sign in to comment.