Skip to content

Commit

Permalink
fix line break in github credentials
Browse files Browse the repository at this point in the history
#196

[release]
  • Loading branch information
atruskie committed Apr 5, 2020
1 parent ecfd17c commit 24c0b81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ stages:
steps:
- checkout: none
- pwsh: |
$commit = Invoke-RestMethod -Method Get -Uri "https://api.github.com/repos/$(Build.Repository.Name)/commits/$(Build.SourceVersion)" -Headers @{Authorization="token ${env:AU
DIO_ANALYSIS_CI}"}
$commit = Invoke-RestMethod -Method Get -Uri "https://api.github.com/repos/$(Build.Repository.Name)/commits/$(Build.SourceVersion)" -Headers @{Authorization="token ${env:AUDIO_ANALYSIS_CI}"}
$commit_message = $commit.commit.message
Write-Output "Analyzing commit message for [release] tag:`n$commit_message"
$is_manual_release = $commit_message -ilike '*\[release\]*'
Expand Down

0 comments on commit 24c0b81

Please sign in to comment.