Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions release/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.9.0"
distribution-version = "2201.9.6"

[[package]]
org = "ballerina"
name = "auth"
version = "2.11.0"
version = "2.11.2"
dependencies = [
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "jballerina.java"},
Expand Down Expand Up @@ -41,7 +41,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.7.1"
version = "2.7.2"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand All @@ -61,7 +61,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.11.0"
version = "2.11.7"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -89,7 +89,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "io"
version = "1.6.0"
version = "1.6.3"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
Expand All @@ -106,7 +106,7 @@ version = "0.0.0"
[[package]]
org = "ballerina"
name = "jwt"
version = "2.11.0"
version = "2.12.1"
dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "crypto"},
Expand Down Expand Up @@ -263,7 +263,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "time"
version = "2.4.0"
version = "2.5.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand Down Expand Up @@ -294,7 +294,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "github"
version = "5.0.2"
version = "5.1.0"
dependencies = [
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "http"},
Expand Down
11 changes: 8 additions & 3 deletions release/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import ballerinax/github;

const string ACCESS_TOKEN_ENV = "BALLERINA_BOT_TOKEN";
const string RELEASE_LIBS = "RELEASE_LIBS";
const string RELASE_EXTENSIONS = "RELEASE_EXTENSIONS";
const string RELEASE_EXTENSIONS = "RELEASE_EXTENSIONS";
const string RELEASE_TOOLS = "RELEASE_TOOLS";
const string RELEASE_DRIVER_MODULES = "RELEASE_DRIVER_MODULES";
const string RELEASE_HANDWRITTEN_CONNECTORS = "RELEASE_HANDWRITTEN_CONNECTORS";
const string RELEASE_GENERATED_CONNECTORS = "RELEASE_GENERATED_CONNECTORS";

Expand All @@ -36,10 +37,11 @@ const decimal WORKFLOW_POLL_INTERVAL = 5;
configurable string token = os:getEnv(ACCESS_TOKEN_ENV);

configurable boolean releaseLibs = check boolean:fromString(os:getEnv(RELEASE_LIBS));
configurable boolean releaseExtensions = check boolean:fromString(os:getEnv(RELASE_EXTENSIONS));
configurable boolean releaseExtensions = check boolean:fromString(os:getEnv(RELEASE_EXTENSIONS));
configurable boolean releaseTools = check boolean:fromString(os:getEnv(RELEASE_TOOLS));
configurable boolean releaseDriverModules = check boolean:fromString(os:getEnv(RELEASE_DRIVER_MODULES));
configurable boolean releaseHandwrittenConnectors = check boolean:fromString(os:getEnv(RELEASE_HANDWRITTEN_CONNECTORS));
configurable boolean releaseGeneratedConnectors = check boolean:fromString(os:getEnv(RELEASE_GENERATED_CONNECTORS));
configurable boolean releaseGeneratedConnectors = check boolean:fromString(os:getEnv(RELEASE_GENERATED_CONNECTORS));

// Provide the correct workflow as a configurable variable.
configurable string workflow = ?;
Expand Down Expand Up @@ -86,6 +88,9 @@ public function getModuleList() returns Module[]|error {
if releaseTools {
result.push(...moduleList.tools);
}
if releaseDriverModules {
result.push(...moduleList.driver_modules);
}
if releaseHandwrittenConnectors {
result.push(...moduleList.handwritten_connectors);
}
Expand Down
1 change: 1 addition & 0 deletions release/types.bal
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type List record {|
Module[] library_modules;
Module[] extended_modules;
Module[] handwritten_connectors;
Module[] driver_modules;
Module[] generated_connectors;
Module[] tools;
|};
Expand Down