From 2b1b48454f3b63936f30530465cb04e6321bfb89 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Fri, 17 May 2024 08:21:31 +0800 Subject: [PATCH] 1.2.2 --- gulpfile.js | 7 +++++-- version | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b34d893..6814536 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -132,6 +132,9 @@ task('zip', () => { task('actions-build', () => { const target = ['./templates/**', './*.yaml', 'README.md', 'LICENSE'] + src(target, {base: '.'}) + .pipe(zip('halo-theme-dream2.0-plus.zip')) + .pipe(dest(distPath)) return src(target, {base: '.'}) .pipe(dest(distPathActions)) }) @@ -149,8 +152,8 @@ task('default', series('clean', parallel('css', 'js'), 'zip')) // release模式,需要使用--tag参数指定版本号 task('release', series('clean', 'version', parallel('css', 'js'), 'zip')) -// GitHub - Actions模式 -task('actions', series('clean', 'version', parallel('css', 'js'), 'zip', 'actions-build')) +// GitHub - Actions模式,需要使用--tag参数指定版本号 +task('actions', series('clean', 'version', parallel('css', 'js'), 'actions-build')) // push模式,需要使用--tag参数指定版本号 task('push', series('clean', 'version', parallel('css', 'js'), 'zip', 'publish')) diff --git a/version b/version index d2d61a7..cb174d5 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.2.2 \ No newline at end of file +1.2.1 \ No newline at end of file