feat(zip): 修改打包文件名

This commit is contained in:
nineya 2023-03-28 20:57:59 +08:00
parent 4266eecafa
commit 6333291200

View File

@ -125,7 +125,7 @@ task('js', () => {
task('zip', () => { task('zip', () => {
const target = ['./templates/**', './*.yaml', 'README.md', 'screenshot.png', 'LICENSE'] const target = ['./templates/**', './*.yaml', 'README.md', 'screenshot.png', 'LICENSE']
return src(target, {base: '.'}) return src(target, {base: '.'})
.pipe(zip('halo-theme-dream.zip')) .pipe(zip('halo-theme-dream2.0.zip'))
.pipe(dest(distPath)) .pipe(dest(distPath))
}) })