diff --git a/CHANGELOG.md b/CHANGELOG.md index 50da6faa..cac223ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Mock SQL tables - Mock batch file I/O +## \[0.2.14\] 2024-12-05 +- Fixed a bug where an exit code of 4 was not allowed. + ## \[0.2.13\] 2024-10-17 - Fixing bug when JOIN followed by ON in next line is not only JOIN but f.ex. LEFT OUTER JOIN. diff --git a/README.md b/README.md index b177324b..675646ca 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ As of March 2022 we could use help with: ## Downloads -Version 0.2.13 pre-release is available! +Version 0.2.14 pre-release is available! [//]: # (- Find the download on the project home page on the [Neo Pragma site](https://neopragma.com/projects/cobol-check/).) - Find distributions here: [Cobol Check Ditributions](https://github.com/openmainframeproject/cobol-check/tree/Developer/build/distributions). diff --git a/build.gradle b/build.gradle index dce5cad1..68efef26 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { id 'jacoco' } -def productVersion = '0.2.13' +def productVersion = '0.2.14' def productName = 'cobol-check' group = 'org.openmainframeproject' description = 'Unit testing framework for Cobol' diff --git a/src/main/java/org/openmainframeproject/cobolcheck/Main.java b/src/main/java/org/openmainframeproject/cobolcheck/Main.java index f55f9726..d9a08fb5 100644 --- a/src/main/java/org/openmainframeproject/cobolcheck/Main.java +++ b/src/main/java/org/openmainframeproject/cobolcheck/Main.java @@ -22,7 +22,7 @@ public static void main(String[] args) throws InterruptedException { if (initializer.launchTestProgram()) { int exitCode = testRunner.run(programName, initializer.isLastSourceProgram(programName)); - if (exitCode >= 4) + if (exitCode > 4) initializer.setExitStatusHalt(); } } diff --git a/src/main/java/org/openmainframeproject/cobolcheck/workers/Initializer.java b/src/main/java/org/openmainframeproject/cobolcheck/workers/Initializer.java index a0800427..185d37d8 100644 --- a/src/main/java/org/openmainframeproject/cobolcheck/workers/Initializer.java +++ b/src/main/java/org/openmainframeproject/cobolcheck/workers/Initializer.java @@ -21,7 +21,7 @@ public class Initializer { private StatusController statusController; public Initializer(String[] args) { - Log.info(Messages.get("INF000", "0.2.13")); + Log.info(Messages.get("INF000", "0.2.14")); argumentController = new ArgumentHandlerController(args); environmentController = new EnvironmentSetupController(); statusController = new StatusController(); diff --git a/vs-code-extension/CHANGELOG.md b/vs-code-extension/CHANGELOG.md index 306c783c..2e4327c4 100644 --- a/vs-code-extension/CHANGELOG.md +++ b/vs-code-extension/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to the "cobol-unit-test" extension will be documented in this file. Versioning according to SemVer: https://semver.org/ +## [0.4.8] 05.12.2024 +- Now using COBOL Check version 0.2.14 ## [0.4.7] 08.10.2024 - Now using COBOL Check version 0.2.13 diff --git a/vs-code-extension/client/src/extension.ts b/vs-code-extension/client/src/extension.ts index e6d295f8..690371d2 100644 --- a/vs-code-extension/client/src/extension.ts +++ b/vs-code-extension/client/src/extension.ts @@ -20,7 +20,7 @@ import { getContentFromFilesystem, MarkdownTestData, TestCase, testData, TestFil let externalVsCodeInstallationDir = vscode.extensions.getExtension("openmainframeproject.cobol-check-extension").extensionPath; let configPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/config.properties'); let defaultConfigPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/default.properties'); -let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.13.jar'); +let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.14.jar'); let currentPlatform = getOS(); diff --git a/vs-code-extension/client/src/services/TestTree.ts b/vs-code-extension/client/src/services/TestTree.ts index 44652edc..0054cc7b 100644 --- a/vs-code-extension/client/src/services/TestTree.ts +++ b/vs-code-extension/client/src/services/TestTree.ts @@ -10,7 +10,7 @@ import { handleCobolCheckOut } from '../Helpers/ExtensionHelper'; const textDecoder = new TextDecoder('utf-8'); let externalVsCodeInstallationDir = vscode.extensions.getExtension("openmainframeproject.cobol-check-extension").extensionPath; let configPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/config.properties'); -let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.13.jar'); +let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.14.jar'); diff --git a/vs-code-extension/package.json b/vs-code-extension/package.json index f1e524e5..4cdb8528 100644 --- a/vs-code-extension/package.json +++ b/vs-code-extension/package.json @@ -8,7 +8,7 @@ "Snippets" ], "description": "Extension for running unit tests in Cobol", - "version": "0.4.7", + "version": "0.4.8", "icon": "images/cobol-check-logo-small.png", "repository": { "type": "git", @@ -40,7 +40,7 @@ } ], "description": "Extension for running unit tests in Cobol", - "version": "0.4.7", + "version": "0.4.8", "icon": "images/cobol-check-logo-small.png", "repository": { "type": "git",