diff --git a/package.json b/package.json index b7fa38c..fbb6b7f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update-cli", - "version": "1.45.4", + "version": "1.45.5", "description": "command line tool for react-native-update (remote updates for react native)", "main": "index.js", "bin": { diff --git a/src/locales/en.ts b/src/locales/en.ts index 5cc964b..bafead7 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -101,7 +101,7 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks. rnuVersionNotFound: 'react-native-update: Cannot get the version number. Please run the command in the project directory', rolloutConfigSet: - 'Set {{rollout}}% rollout for version {{version}} on native version(s) {{versions}}', + 'Set {{rollout}}% rollout for OTA update {{version}} on native version(s) {{versions}}', rolloutRangeError: 'rollout must be an integer between 1-100', runningHermesc: 'Running hermesc: {{- command}} {{- args}}', sentryCliNotFound: @@ -122,10 +122,10 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks. usageUploadApp: 'Usage: cresc uploadApp ', usageUploadIpa: 'Usage: cresc uploadIpa ', versionBind: - 'Bound version {{version}} to native version {{nativeVersion}} (id: {{id}})', + 'Bound hot update {{version}} to native version {{nativeVersion}} (id: {{id}})', welcomeMessage: 'Welcome to Cresc hot update service, {{name}}.', - versionNameQuestion: 'Enter version name:', - versionDescriptionQuestion: 'Enter version description:', + versionNameQuestion: 'Enter OTA update name:', + versionDescriptionQuestion: 'Enter OTA update description:', versionMetaInfoQuestion: 'Enter custom meta info:', updateNativePackageQuestion: 'Bind to native package now?(Y/N)', unnamed: '(Unnamed)', diff --git a/src/locales/zh.ts b/src/locales/zh.ts index 96619d4..8f8c4df 100644 --- a/src/locales/zh.ts +++ b/src/locales/zh.ts @@ -96,7 +96,7 @@ export default { rnuVersionNotFound: 'react-native-update: 无法获取版本号。请在项目目录中运行命令', rolloutConfigSet: - '已在原生版本 {{versions}} 上设置灰度发布 {{rollout}}% 热更版本 {{version}}', + '已在原生版本 {{versions}} 上设置灰度发布 {{rollout}}% 热更包 {{version}}', rolloutRangeError: 'rollout 必须是 1-100 的整数', runningHermesc: '运行 hermesc:{{- command}} {{- args}}', sentryCliNotFound: '无法找到 Sentry CLI 工具,请确保已正确安装 @sentry/cli', @@ -115,7 +115,7 @@ export default { usageUploadApp: '使用方法: pushy uploadApp app后缀文件', usageUploadIpa: '使用方法: pushy uploadIpa ipa后缀文件', versionBind: - '已将热更版本 {{version}} 绑定到原生版本 {{nativeVersion}} (id: {{id}})', + '已将热更包 {{version}} 绑定到原生版本 {{nativeVersion}} (id: {{id}})', welcomeMessage: '欢迎使用 pushy 热更新服务,{{name}}。', versionNameQuestion: '输入版本名称:', versionDescriptionQuestion: '输入版本描述:', diff --git a/src/package.ts b/src/package.ts index 844581a..6b0b26a 100644 --- a/src/package.ts +++ b/src/package.ts @@ -2,7 +2,7 @@ import { get, getAllPackages, post, uploadFile } from './api'; import { question, saveToLocal } from './utils'; import { t } from './utils/i18n'; -import { checkPlatform, getPlatform, getSelectedApp } from './app'; +import { getPlatform, getSelectedApp } from './app'; import { getApkInfo, getIpaInfo, getAppInfo } from './utils'; import Table from 'tty-table'; diff --git a/src/versions.ts b/src/versions.ts index b3a0d59..4e459b3 100644 --- a/src/versions.ts +++ b/src/versions.ts @@ -307,7 +307,6 @@ export const commands = { rollout, dryRun: options.dryRun, }); - console.log(t('operationSuccess')); }, updateVersionInfo: async ({ args,