build: create asset should still try to add asset
This commit is contained in:
parent
7256c3ab26
commit
5e350b1b79
|
@ -93,16 +93,12 @@ async function main(): Promise<void> {
|
|||
const blobExists = await doesAssetExist(blobService, quality, blobName);
|
||||
|
||||
if (blobExists) {
|
||||
console.log(`Blob ${quality}, ${blobName} already exists, not publishing again.`);
|
||||
return;
|
||||
console.log(`Blob ${quality}, ${blobName} already exists, not uploading again.`);
|
||||
} else {
|
||||
await uploadBlob(blobService, quality, blobName, filePath, fileName);
|
||||
console.log('Blobs successfully uploaded.');
|
||||
}
|
||||
|
||||
console.log('Uploading blobs to Azure storage...');
|
||||
|
||||
await uploadBlob(blobService, quality, blobName, filePath, fileName);
|
||||
|
||||
console.log('Blobs successfully uploaded.');
|
||||
|
||||
const asset: Asset = {
|
||||
platform,
|
||||
type,
|
||||
|
|
Loading…
Reference in a new issue