File tree 3 files changed +22
-6
lines changed
3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,7 @@ branches:
18
18
handleGHRelease : true
19
19
releaseType : java-yoshi
20
20
branch : java7
21
+ - bumpMinorPreMajor : true
22
+ handleGHRelease : true
23
+ releaseType : java-yoshi
24
+ branch : 2.1.x
Original file line number Diff line number Diff line change @@ -76,6 +76,20 @@ branchProtectionRules:
76
76
- units (11)
77
77
- ' Kokoro - Test: Integration'
78
78
- cla/google
79
+ - pattern : 2.1.x
80
+ isAdminEnforced : true
81
+ requiredApprovingReviewCount : 1
82
+ requiresCodeOwnerReviews : true
83
+ requiresStrictStatusChecks : false
84
+ requiredStatusCheckContexts :
85
+ - dependencies (8)
86
+ - dependencies (11)
87
+ - lint
88
+ - clirr
89
+ - units (8)
90
+ - units (11)
91
+ - ' Kokoro - Test: Integration'
92
+ - cla/google
79
93
permissionRules :
80
94
- team : yoshi-admins
81
95
permission : admin
Original file line number Diff line number Diff line change @@ -38,15 +38,13 @@ function determineMavenOpts() {
38
38
| sed -E ' s/^(1\.[0-9]\.0).*$/\1/g'
39
39
)
40
40
41
- case $javaVersion in
42
- " 17 " )
41
+ if [[ $javaVersion == 17 * ]]
42
+ then
43
43
# MaxPermSize is no longer supported as of jdk 17
44
44
echo -n " -Xmx1024m"
45
- ;;
46
- * )
45
+ else
47
46
echo -n " -Xmx1024m -XX:MaxPermSize=128m"
48
- ;;
49
- esac
47
+ fi
50
48
}
51
49
52
50
export MAVEN_OPTS=$( determineMavenOpts)
You can’t perform that action at this time.
0 commit comments