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:
parent
5b4b3f5304
commit
be22ff8c64
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user