Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redirect url when running "push" #42649

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@

public static String getBallerinaCentralCliTokenUrl() {
if (SET_BALLERINA_STAGE_CENTRAL) {
return "https://staging-central.ballerina.io/cli-token";
return "https://staging-central.ballerina.io/dashboard?tab=token";

Check warning on line 123 in cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/CentralUtils.java

View check run for this annotation

Codecov / codecov/patch

cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/CentralUtils.java#L123

Added line #L123 was not covered by tests
} else if (SET_BALLERINA_DEV_CENTRAL) {
return "https://dev-central.ballerina.io/cli-token";
return "https://dev-central.ballerina.io/dashboard?tab=token";

Check warning on line 125 in cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/CentralUtils.java

View check run for this annotation

Codecov / codecov/patch

cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/CentralUtils.java#L125

Added line #L125 was not covered by tests
} else {
return "https://central.ballerina.io/cli-token";
return "https://central.ballerina.io/dashboard?tab=token";

Check warning on line 127 in cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/CentralUtils.java

View check run for this annotation

Codecov / codecov/patch

cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/CentralUtils.java#L127

Added line #L127 was not covered by tests
}
}

Expand Down