Skip to content

Commit

Permalink
Merge pull request #11302 from carlyin0801/issue_11301_his_branch_fix
Browse files Browse the repository at this point in the history
bug:插件最新版本使用历史版本修复方式发布后,再用普通方式发布的分支会继承上一次的 #11301
  • Loading branch information
bkci-bot authored Dec 13, 2024
2 parents bf84bc4 + f24ac0c commit b473772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ data class MarketAtomUpdateRequest(
@get:Schema(title = "插件字段校验确认标识", required = false)
val fieldCheckConfirmFlag: Boolean? = false,
@get:Schema(title = "分支", required = false)
val branch: String? = null,
var branch: String? = null,
@get:Schema(title = "是否属于分支测试版本", required = false)
var isBranchTestVersion: Boolean = false
)
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
val branch = if (marketAtomUpdateRequest.branch.isNullOrBlank() ||
releaseType != ReleaseTypeEnum.HIS_VERSION_UPGRADE
) {
marketAtomUpdateRequest.branch = MASTER
MASTER
} else {
marketAtomUpdateRequest.branch
Expand Down

0 comments on commit b473772

Please sign in to comment.