File tree Expand file tree Collapse file tree
common/execCommand/globalActions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @serverless-devs/core" ,
3- "version" : " 0.1.58 " ,
3+ "version" : " 0.1.59 " ,
44 "description" : " Serverless Devs Tool Core Component" ,
55 "keywords" : [
66 " Serverless" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Type: Component
22Name : core
33Provider :
44 - 阿里云
5- Version : 0.1.58
5+ Version : 0.1.59
66Description : Serverless Devs 核心组件
77HomePage : https://github.com/Serverless-Devs/core
88Tags : # 标签详情
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { ALIYUN_CLI } from '../../constant';
2020import { getCredential , getCredentialFromEnv } from '../../credential' ;
2121import { getRootHome , getYamlContent } from '../../../libs' ;
2222import { execDaemon } from '../../../execDaemon' ;
23- import { getCurrentEnvironment } from '@serverless-devs/utils' ;
23+ import { getCurrentEnvironment , isCiCdEnvironment } from '@serverless-devs/utils' ;
2424import rimraf from 'rimraf' ;
2525interface IConfig {
2626 realVariables : Record < string , any > ;
@@ -130,6 +130,7 @@ class GlobalActions {
130130 private async tracker ( ) {
131131 const traceId = process . env [ 'serverless_devs_trace_id' ] ;
132132 if ( isEmpty ( traceId ) ) return ;
133+ if ( isCiCdEnvironment ( ) ) return ;
133134 const inputs : IGlobalInputs = await this . getInputs ( ) ;
134135 const newInputs = { ...inputs , ...this . record } ;
135136 const yamlContent = await getYamlContent ( get ( newInputs , 'path.configPath' ) ) ;
Original file line number Diff line number Diff line change 11module . exports = {
2- DEFAULT_CORE_VERSION : '0.1.58 ' ,
2+ DEFAULT_CORE_VERSION : '0.1.59 ' ,
33} ;
You can’t perform that action at this time.
0 commit comments