Skip to content

Commit afd2bdc

Browse files
author
Sourabh Tripathi
committed
resolving comments
1 parent 68090de commit afd2bdc

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.pipelines/publish_release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,8 @@ extends:
192192
steps:
193193
- task: CmdLine@2
194194
displayName: Checkout HomeBrew Repo
195-
env:
196-
GITHUB_PAT: $(GitHubPAT)
197195
inputs:
198-
script: |-
199-
if "%GITHUB_PAT%"=="" (echo ##[error]GITHUB_PAT is empty & exit 1)
200-
git clone https://x-access-token:%GITHUB_PAT%@github.com/microsoft/homebrew-msstore-cli.git $(Pipeline.Workspace)\homebrew-msstore-cli
196+
script: git clone https://github.com/microsoft/homebrew-msstore-cli.git $(Pipeline.Workspace)\homebrew-msstore-cli
201197
- task: DownloadGitHubRelease@0
202198
displayName: Download GitHub Release
203199
inputs:
@@ -220,6 +216,7 @@ extends:
220216
inputs:
221217
workingDirectory: $(Pipeline.Workspace)\homebrew-msstore-cli
222218
script: |-
219+
if "%GITHUB_PAT%"=="" (echo ##vso[task.logissue type=error;]GITHUB_PAT is empty & exit /b 1)
223220
git config user.email "msstore.cli.dev.bot@microsoft.com"
224221
git config user.name "MSStore CLI Dev Bot"
225222
git add -f Formula\msstore-cli.rb

0 commit comments

Comments
 (0)