1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +01:00

update distFileName logic

This commit is contained in:
Kyle Spearrin 2017-11-18 13:29:42 -05:00
parent 5b4b3f5304
commit be22ff8c64

View File

@ -27,12 +27,12 @@ const fontsFilter = [
];
function distFileName(browserName, ext) {
var fileName = `dist-${browserName}`;
var build = '';
if (process.env.APPVEYOR_BUILD_NUMBER && process.env.APPVEYOR_BUILD_NUMBER !== '') {
fileName += `-${process.env.APPVEYOR_BUILD_NUMBER}`;
build = `-${process.env.APPVEYOR_BUILD_NUMBER}`;
}
return `${fileName}.${ext}`;
return `dist-${browserName}${build}.${ext}`;
}
function dist(browserName, manifest) {