提交 5e350b1b 编写于 作者: J João Moreno

build: create asset should still try to add asset

上级 7256c3ab
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册