From 419f414cb7b25ebe05de028b2614f4da4cdded78 Mon Sep 17 00:00:00 2001 From: Pavlo Shevchenko Date: Wed, 11 Sep 2024 09:43:55 +0200 Subject: [PATCH] Replace deprecated GRGIT_USER env variable with GIT_USERNAME and GIT_PASSWORD Signed-off-by: Pavlo Shevchenko --- .teamcity/settings.kts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index b2280b8e..f492ffd6 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -205,7 +205,21 @@ project { "releaseScope", "", label = "releaseScope", description = "The scope of the release", display = PROMPT, options = listOf("major", "minor", "patch") ) - password("env.GRGIT_USER", "", label = "GitHub Access Token", display = PROMPT) + text( + "env.GIT_USERNAME", + "", + label = "GitHub username", + description = "Your GitHub username", + display = PROMPT, + allowEmpty = false + ) + password( + "env.GIT_PASSWORD", + "", + label = "GitHub Access Token", + description = "Your personal access token with repo permission", + display = PROMPT + ) param("env.GRADLE_PUBLISH_KEY", "%plugin.portal.publish.key%") password("env.GRADLE_PUBLISH_SECRET", "%plugin.portal.publish.secret%", display = NORMAL) password("env.PGP_SIGNING_KEY", "%pgpSigningKey%")