Skip to content

Commit

Permalink
feat:希望支持分支进行上架测试 #4780
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Nov 7, 2023
1 parent 57cdd73 commit 17c3c1a
Showing 1 changed file with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
jsonMap = jsonMap,
storeI18nConfig = StoreI18nConfig(
projectCode = projectCode,
storeCode = atomCode,
fileDir = "$atomCode/$version",
i18nDir = i18nDir,
propertiesKeyPrefix = KEY_RELEASE_INFO,
Expand Down Expand Up @@ -536,14 +537,17 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
)
storeI18nMessageService.parseErrorCodeI18nInfo(
userId = userId,
projectCode = projectCode,
errorCodes = errorCodes,
fileDir = "$atomCode/$atomVersion",
i18nDir = StoreUtils.getStoreI18nDir(atomLanguage, getAtomPackageSourceType(repositoryHashId)),
keyPrefix = "${StoreTypeEnum.ATOM.name}.$atomCode.$atomVersion",
repositoryHashId = repositoryHashId,
branch = branch,
version = atomVersion
version = atomVersion,
storeI18nConfig = StoreI18nConfig(
projectCode = projectCode,
storeCode = atomCode,
fileDir = "$atomCode/$atomVersion",
i18nDir = StoreUtils.getStoreI18nDir(atomLanguage, getAtomPackageSourceType(repositoryHashId)),
dbKeyPrefix = "${StoreTypeEnum.ATOM.name}.$atomCode.$atomVersion",
repositoryHashId = repositoryHashId,
branch = branch
)
)
val storeErrorCodeInfo = StoreErrorCodeInfo(
storeCode = atomCode,
Expand Down Expand Up @@ -583,6 +587,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
jsonMap = JsonUtil.toMutableMap(qualityJsonStr),
storeI18nConfig = StoreI18nConfig(
projectCode = projectCode,
storeCode = atomCode,
fileDir = "$atomCode/$atomVersion",
i18nDir = i18nDir,
dbKeyPrefix = StoreUtils.getStoreFieldKeyPrefix(StoreTypeEnum.ATOM, atomCode, atomVersion),
Expand Down Expand Up @@ -1283,6 +1288,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ
jsonMap = getAtomConfResult.taskDataMap.toMutableMap(),
storeI18nConfig = StoreI18nConfig(
projectCode = projectCode,
storeCode = atomCode,
fileDir = "$atomCode/$version",
i18nDir = updateAtomPackageInfo.i18nDir,
dbKeyPrefix = StoreUtils.getStoreFieldKeyPrefix(StoreTypeEnum.ATOM, atomCode, version),
Expand Down

0 comments on commit 17c3c1a

Please sign in to comment.