🐛 Change the name of the released logos

This commit is contained in:
trickypr 2022-01-27 20:10:03 +11:00
parent e19fde50ac
commit fe6d04dbb7

View file

@ -71,6 +71,9 @@ async function setupImages(configPath: string, outputPath: string) {
await sharp(join(configPath, 'logo.png'))
.resize(size, size)
.toFile(join(outputPath, `default${size}.png`))
await sharp(join(configPath, 'logo.png'))
.resize(size, size)
.toFile(join(configPath, `logo${size}.png`))
}
await sharp(join(configPath, 'logo.png'))
@ -174,8 +177,6 @@ export async function apply(name: string): Promise<void> {
ensureEmpty(outputPath)
await setupImages(configPath, outputPath)
// Keep a copy in config for other CI actions
await setupImages(configPath, configPath)
setupLocale(outputPath, brandingConfig)
await copyMozFiles(outputPath, brandingConfig)
}