mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
update distFileName logic
This commit is contained in:
@@ -27,12 +27,12 @@ const fontsFilter = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
function distFileName(browserName, ext) {
|
function distFileName(browserName, ext) {
|
||||||
var fileName = `dist-${browserName}`;
|
var build = '';
|
||||||
if (process.env.APPVEYOR_BUILD_NUMBER && process.env.APPVEYOR_BUILD_NUMBER !== '') {
|
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) {
|
function dist(browserName, manifest) {
|
||||||
|
|||||||
Reference in New Issue
Block a user