diff --git a/edi-tools-cli/src/main/java/io/ballerina/edi/cmd/LibgenCmd.java b/edi-tools-cli/src/main/java/io/ballerina/edi/cmd/LibgenCmd.java index 6e48280..c44964a 100644 --- a/edi-tools-cli/src/main/java/io/ballerina/edi/cmd/LibgenCmd.java +++ b/edi-tools-cli/src/main/java/io/ballerina/edi/cmd/LibgenCmd.java @@ -59,7 +59,7 @@ public void execute() { printStream.println(stringBuilder.toString()); return; } - if (!packageName.matches("^[a-z0-9]+/[a-z0-9]+$")) { + if (!packageName.matches("^[a-zA-Z0-9_]+/[a-zA-Z0-9_]+$")) { printStream.println("Invalid package name. Package name should be in the format orgname/packagename"); return; } diff --git a/edi-tools-package/BalTool.toml b/edi-tools-package/BalTool.toml index a5d0929..2b893b6 100644 --- a/edi-tools-package/BalTool.toml +++ b/edi-tools-package/BalTool.toml @@ -2,4 +2,4 @@ id = "edi" [[dependency]] -path = "resources/edi-tools-cli-2.0.1.jar" +path = "resources/edi-tools-cli-2.0.2.jar" diff --git a/edi-tools-package/Ballerina.toml b/edi-tools-package/Ballerina.toml index 4690007..3e5a290 100644 --- a/edi-tools-package/Ballerina.toml +++ b/edi-tools-package/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerina" name = "editoolspackage" -version = "2.0.1" +version = "2.0.2" authors = ["Ballerina"] keywords = ["edi"] license = ["Apache-2.0"] diff --git a/edi-tools/Ballerina.toml b/edi-tools/Ballerina.toml index ff44d29..af348aa 100644 --- a/edi-tools/Ballerina.toml +++ b/edi-tools/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerina" name = "editools" -version = "2.0.1" +version = "2.0.2" authors = ["Ballerina"] keywords = ["edi"] license = ["Apache-2.0"]