Skip to content

Commit

Permalink
Merge pull request #53 from RDPerera/main
Browse files Browse the repository at this point in the history
Fix for Invalid Package Name Error During Package Generation
  • Loading branch information
RDPerera authored Aug 1, 2024
2 parents 222d8a0 + 136ecca commit 0d03491
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion edi-tools-package/BalTool.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion edi-tools-package/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion edi-tools/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 0d03491

Please sign in to comment.