Skip to content

Commit

Permalink
Update environmental variables for credentials in ConfigurePublishPlugin
Browse files Browse the repository at this point in the history
Swapped the environmental variables for the username and password fields in the ConfigurePublishPlugin file. Initially, the password field was pulling the username value and vice versa. Now, the correct environmental variables are properly assigned to their respective fields.

(cherry picked from commit 595ff2a)
  • Loading branch information
Lamberto Basti committed May 22, 2024
1 parent 06855ac commit 159b683
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ fun RepositoryHandler.pkgsSpace(project: Project) {
name = "Space"
setUrl("https://packages.jetbrains.team/maven/p/kpm/public")
credentials {
username = System.getenv("SPACE_PACKAGE_SEARCH_TOKEN")
username = System.getenv("SPACE_PACKAGE_SEARCH_USERNAME")
?: project.extra.getStringOrNull("space.username")
password = System.getenv("SPACE_PACKAGE_SEARCH_USERNAME")
password = System.getenv("SPACE_PACKAGE_SEARCH_TOKEN")
?: project.extra.getStringOrNull("space.password")
}
}
Expand Down

0 comments on commit 159b683

Please sign in to comment.