Browse Source

Merge pull request #1924 in CORE/base-third from final/10.0 to persist/10.0

* commit 'eeb392d30f2086f2921fa219ebe1e25e1701379b':
  无JIRA任务 feat: CBB增加分支
  无JIRA任务 fix: 修改third打包脚本
persist/10.0
superman 4 years ago
parent
commit
7480a0fa10
  1. 17
      build.third_step0.gradle
  2. 16
      build.third_step2.gradle
  3. 16
      build.third_step3.gradle
  4. 16
      build.third_step4.gradle
  5. 16
      build.third_step5.gradle
  6. 16
      build.third_step6.gradle
  7. 16
      build.third_step7.gradle
  8. 16
      build.third_step8.gradle

17
build.third_step0.gradle

@ -71,8 +71,21 @@ configurations {
essential
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = branchNameUpperCase == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (branchNameUpperCase) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
dependencies {
essential "com.fr.essential:fine-essential:1.0-${essentialBranch}-SNAPSHOT"
essential "com.fr.cbb:fine-scheduler:1.0-${essentialBranch}-SNAPSHOT"

16
build.third_step2.gradle

@ -71,8 +71,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//
dependencies{

16
build.third_step3.gradle

@ -54,8 +54,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//

16
build.third_step4.gradle

@ -54,8 +54,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//
dependencies{

16
build.third_step5.gradle

@ -54,8 +54,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//
dependencies{

16
build.third_step6.gradle

@ -52,8 +52,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//
dependencies{

16
build.third_step7.gradle

@ -52,8 +52,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//
dependencies{

16
build.third_step8.gradle

@ -52,8 +52,20 @@ if(indexV != -1){
version= branchName
}
// third的feature对应essential和cbb的releasemaster
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER'
// CBB的对应关系
String essentialBranch
switch (version) {
case "FEATURE":
case "RESEARCH":
essentialBranch = "FEATURE"
break
case "RELEASE":
case "BUGFIX":
essentialBranch = "RELEASE"
break
default:
essentialBranch = "MASTER"
}
//
dependencies{

Loading…
Cancel
Save