Skip to content

Commit

Permalink
Merge pull request #152 from arup-group/githubrelease
Browse files Browse the repository at this point in the history
Update build-test-deploy.yml for Azure Pipelines
  • Loading branch information
tlmnrnhrdt authored Aug 9, 2022
2 parents 7eab175 + 79b8619 commit b65a2fc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,28 @@ steps:
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables.TAG_EXISTS, 'true'))
displayName: Package NuGet

- task: GitHubRelease@1
inputs:
gitHubConnection: 'github.com_peterjgrainger'
repositoryName: 'arup-group/GSA-Grasshopper'
action: 'edit'
target: '$(Build.SourceVersion)'
tag: '$(dotSeparatedTag)'
title: 'GsaGH version $(dotSeparatedTag)'
releaseNotesSource: 'inline'
releaseNotesInline: |
Created from commit https://github.com/arup-group/GSA-Grasshopper/commit/$(Build.SourceVersion)
assets: |
$(System.DefaultWorkingDirectory)/**/*.yak
$(Build.ArtifactStagingDirectory)/**/*.nupkg
$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg
assetUploadMode: 'replace'
isDraft: true
isPreRelease: true
addChangeLog: false
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables.TAG_EXISTS, 'true'))
displayName: 'Publishing assets to Github'

- powershell: |
$installerPath = $(ls -r $(Pipeline.Workspace)\gsa.msi)
Write-output "Installer Path: ${installerPath}"
Expand Down

0 comments on commit b65a2fc

Please sign in to comment.