@opentapd/tplugin-cli 0.20.1 → 0.21.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/deploy.js +2 -1
  2. package/package.json +1 -1
package/lib/deploy.js CHANGED
@@ -251,7 +251,6 @@ async function deploy(branch, commit, code) {
251
251
  // 判断部署流水线状态
252
252
  buildStatus = get(data, 'data.build_status', '');
253
253
  } catch (err) {
254
- console.log(err);
255
254
  await sleep(5000);
256
255
  continue;
257
256
  }
@@ -260,6 +259,8 @@ async function deploy(branch, commit, code) {
260
259
  if (buildStatus === 'SUCCEED') {
261
260
  if (tpluginConf.tapd.pluginEnv === 'oa') {
262
261
  spinner.succeed(`部署成功 => 分支[${branch}], 部署节点[${commit}]`);
262
+ } else {
263
+ spinner.succeed(`部署成功, 部署版本[${commit}]`);
263
264
  }
264
265
 
265
266
  const tips = `前往TAPD开放平台,添加项目进行测试。${tpluginConf.tapd.openHost}/admin/${code}/testdeploy`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentapd/tplugin-cli",
3
- "version": "0.20.1",
3
+ "version": "0.21.0-beta.1",
4
4
  "description": "tplugin-cli",
5
5
  "bin": {
6
6
  "tplugin-cli": "index.js"