Skip to content

Commit

Permalink
chore: 不提供版本号时,跳过版本比较
Browse files Browse the repository at this point in the history
  • Loading branch information
luckymore authored and yechunxi committed Aug 4, 2023
1 parent b9107e3 commit 7a8abb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-plugin-mini-ci/src/AlipayCI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class AlipayCI extends BaseCI {
appId,
clientType
})
if (compareVersion(this.version, lasterVersion) <=0) {
if (this.version && compareVersion(this.version, lasterVersion) <=0) {
printLog(processTypeEnum.ERROR, chalk.red(`上传版本号 "${ this.version }" 必须大于最新上传版本 "${ lasterVersion }"`))
}
const result = await this.minidev.minidev.upload({
Expand Down

0 comments on commit 7a8abb8

Please sign in to comment.