Merge branch '6.2.x' into 6.3.x
This commit is contained in:
commit
675eda1945
|
@ -21,7 +21,7 @@ jobs:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean build --continue
|
run: ./gradlew clean build -PskipCheckExpectedBranchVersion --continue
|
||||||
generate-docs:
|
generate-docs:
|
||||||
name: Generate Docs
|
name: Generate Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -45,6 +45,9 @@ public class CheckExpectedBranchVersionPlugin implements Plugin<Project> {
|
||||||
@TaskAction
|
@TaskAction
|
||||||
public void run() throws IOException {
|
public void run() throws IOException {
|
||||||
Project project = getProject();
|
Project project = getProject();
|
||||||
|
if (project.hasProperty("skipCheckExpectedBranchVersion")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
String version = (String) project.getVersion();
|
String version = (String) project.getVersion();
|
||||||
String branchVersion = getBranchVersion(project);
|
String branchVersion = getBranchVersion(project);
|
||||||
if (!branchVersion.matches("^[0-9]+\\.[0-9]+\\.x$")) {
|
if (!branchVersion.matches("^[0-9]+\\.[0-9]+\\.x$")) {
|
||||||
|
|
Loading…
Reference in New Issue