diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94a68a5fa..7babc6e78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ env: SCRIPTS_VERSION: 5.10.0 BOM_VERSION: 5.11.1 MIGRATIONS_VERSION: 5.11.0 - RELEASE_VERSION: 5.11.1 + RELEASE_VERSION: 5.11.2 jobs: release: diff --git a/src/main/java/com/epam/ta/reportportal/dao/LaunchRepositoryCustomImpl.java b/src/main/java/com/epam/ta/reportportal/dao/LaunchRepositoryCustomImpl.java index 1c1f92b90..a8df91087 100644 --- a/src/main/java/com/epam/ta/reportportal/dao/LaunchRepositoryCustomImpl.java +++ b/src/main/java/com/epam/ta/reportportal/dao/LaunchRepositoryCustomImpl.java @@ -416,6 +416,7 @@ public Optional findPreviousLaunchId(Launch launch) { .and(LAUNCH.NAME.eq(launch.getName())) .and(LAUNCH.NUMBER.lt(launch.getNumber().intValue()) .and(LAUNCH.PROJECT_ID.eq(launch.getProjectId())))) + .and(LAUNCH.MODE.ne(JLaunchModeEnum.DEBUG)) .orderBy(LAUNCH.NUMBER.desc()) .limit(1) .fetchOptionalInto(Long.class);