diff --git a/packages/auto-release/src/utils.ts b/packages/auto-release/src/utils.ts index f9307499..b706ce9a 100644 --- a/packages/auto-release/src/utils.ts +++ b/packages/auto-release/src/utils.ts @@ -129,5 +129,7 @@ export function createRelease(tag: string, title: string, content: string) { } catch (error) { console.error('Error:', error); } + } else { + console.log('非CI环境,不运行创建 github release'); } }