Skip to content

Commit 9175a7a

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d943022 commit 9175a7a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.azure-pipelines/ci-build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ extends:
7777
displayName: Import GPG signing key
7878
7979
- pwsh: |
80-
$props = Get-Content local.properties -Raw
81-
$keyId = ($props | Select-String -Pattern 'signing\.keyId=(.+)').Matches.Groups[1].Value
82-
$keyPassword = ($props | Select-String -Pattern 'signing\.password=(.+)').Matches.Groups[1].Value
83-
80+
$props = Get-Content local.properties -Raw
81+
$keyId = ($props | Select-String -Pattern 'signing\.keyId=([^\r\n]+)').Matches.Groups[1].Value.Trim()
82+
$keyPassword = ($props | Select-String -Pattern 'signing\.password=([^\r\n]+)').Matches.Groups[1].Value.Trim()
8483
$settingsXml = @"
8584
<settings>
8685
<mirrors>

0 commit comments

Comments
 (0)