Skip to content

Commit

Permalink
Merge pull request #586 from Nuvindu/commit-fix
Browse files Browse the repository at this point in the history
Fix having uncommitted toml files in the project
  • Loading branch information
Nuvindu authored Feb 8, 2025
2 parents bd17591 + be50a2f commit c00b743
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion transaction-ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20241218-101200-109f6cc7"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down
4 changes: 2 additions & 2 deletions transaction-negative-tests/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ artifactId = "transaction"
version = "1.11.0-SNAPSHOT"

[[platform.java21.dependency]]
path = "./lib/io-native-1.7.0-20241218-111600-1da6a3f.jar"
path = "./lib/io-native-1.7.0-20250127-170200-0d36f73.jar"
groupId = "io.ballerina.stdlib"
artifactId = "io-native"
version = "1.7.0-20241218-111600-1da6a3f"
version = "1.7.0-20250127-170200-0d36f73"
2 changes: 2 additions & 0 deletions transaction-negative-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ task ballerinaNegativeTests {
environment "JAVA_OPTS", "-DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true"
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
commandLine 'cmd', '/c', "$distributionBinPath/bal.bat test ${graalvmFlag} ${testParams}"
commandLine 'cmd', '/c', "git diff --quiet -- Ballerina.toml Dependencies.toml || git commit -m \"[Automated] Update the native jar versions\" Ballerina.toml Dependencies.toml"
} else {
commandLine 'sh', '-c', "$distributionBinPath/bal test ${graalvmFlag} ${testParams}"
commandLine 'sh', '-c', "git diff --quiet -- Ballerina.toml Dependencies.toml || git commit -m '[Automated] Update the native jar versions' Ballerina.toml Dependencies.toml"
}
}
}
Expand Down

0 comments on commit c00b743

Please sign in to comment.