Skip to content

Commit 6c569d2

Browse files
authored
0.1.59 (#108)
1 parent 582c309 commit 6c569d2

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Component
22
Name: core
33
Provider:
44
- 阿里云
5-
Version: 0.1.58
5+
Version: 0.1.59
66
Description: Serverless Devs 核心组件
77
HomePage: https://github.com/Serverless-Devs/core
88
Tags: #标签详情

src/common/execCommand/globalActions/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { ALIYUN_CLI } from '../../constant';
2020
import { getCredential, getCredentialFromEnv } from '../../credential';
2121
import { getRootHome, getYamlContent } from '../../../libs';
2222
import { execDaemon } from '../../../execDaemon';
23-
import { getCurrentEnvironment } from '@serverless-devs/utils';
23+
import { getCurrentEnvironment, isCiCdEnvironment } from '@serverless-devs/utils';
2424
import rimraf from 'rimraf';
2525
interface 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'));

src/daemon/constant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
DEFAULT_CORE_VERSION: '0.1.58',
2+
DEFAULT_CORE_VERSION: '0.1.59',
33
};

0 commit comments

Comments
 (0)