Skip to content

Commit b262154

Browse files
authored
Merge pull request #324 from mikeller/improve_azure_build
Improved the Azure build.
2 parents 8f0a44c + 256ef17 commit b262154

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ stages:
3535
displayName: 'Install lua compiler.'
3636
- script: make release -C $(System.DefaultWorkingDirectory)
3737
displayName: 'Test and build the release.'
38-
- powershell: Set-Content -Path '$(System.DefaultWorkingDirectory)/release/log.txt' -Value $env:BUILD_SOURCEVERSIONMESSAGE
3938
- task: PublishPipelineArtifact@1
4039
displayName: 'Publish release'
4140
inputs:
@@ -50,14 +49,17 @@ stages:
5049
inputs:
5150
buildType: 'current'
5251
targetPath: '$(Pipeline.Workspace)'
53-
- powershell: Write-Output ("##vso[task.setvariable variable=releaseNotes;]$(gc $(Pipeline.Workspace)/betaflight-tx-lua-scripts/log.txt)")
5452
- task: GitHubReleasePublish@1
5553
inputs:
5654
githubEndpoint: '$(endpoint)'
5755
manuallySetRepository: true
5856
githubOwner: '$(owner)'
5957
githubRepositoryName: '$(repoName)'
60-
githubReleaseNotes: '$(releaseNotes)'
58+
githubReleaseNotes: |+
59+
$(releaseNotes)
60+
61+
### Changes:
62+
$(Build.SourceVersionMessage)
6163
githubReleaseDraft: false
6264
githubReleasePrerelease: false
6365
githubIgnoreAssets: false

0 commit comments

Comments
 (0)