Skip to content

Commit

Permalink
feat:希望支持分支进行上架测试 #4780
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Oct 23, 2023
1 parent f01c326 commit 5123d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ abstract class AtomServiceImpl @Autowired constructor() : AtomService {
versionName = "$atomVersion ($atomStatusMsg)"
latestVersionName = "$latestVersionName ($atomStatusMsg)"
}
if (tmpVersionPrefix != versionPrefix && !atomVersion.contains(TEST)) {
if (tmpVersionPrefix != versionPrefix && !atomVersion.startsWith(TEST)) {
versionList.add(VersionInfo(latestVersionName, "$versionPrefix*")) // 添加大版本号的通用最新模式(如1.*)
tmpVersionPrefix = versionPrefix
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ abstract class MarketAtomServiceImpl @Autowired constructor() : MarketAtomServic
var processingVersionInfoMap: MutableMap<String, MutableList<AtomBaseInfo>>? = null
processingAtomRecords?.forEach { processingAtomRecord ->
if (processingAtomRecord.version == INIT_VERSION || processingAtomRecord.version.isNullOrBlank() ||
processingAtomRecord.version.contains(TEST)) {
processingAtomRecord.version.startsWith(TEST)) {
return@forEach
}
if (processingVersionInfoMap == null) {
Expand Down

0 comments on commit 5123d85

Please sign in to comment.