File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,3 +32,25 @@ steps:
3232 inputs :
3333 platform : ' $(buildPlatform)'
3434 configuration : ' $(buildConfiguration)'
35+
36+ # GitHubRelease
37+ # - task: PowerShell@2
38+ # displayName: 'Get latest SHA commmit from repo'
39+ # inputs:
40+ # targetType: 'inline'
41+ # script: |
42+ # $commits = Invoke-RestMethod -Method GET -Uri "https://api.github.com/repos/Account/repo/commits"
43+ # $sha = $commits[0].sha
44+ # Write-Host "##vso[task.setvariable variable=sha;]$sha"
45+
46+ # - task: GitHubRelease@1
47+ # inputs:
48+ # gitHubConnection: 'example_github'
49+ # repositoryName: 'cpoDesign/APITestingRunner'
50+ # action: 'create'
51+ # target: '$(sha)'
52+ # tagSource: 'userSpecifiedTag'
53+ # tag: '$(tag)'
54+ # title: 'v$(tag)'
55+ # assets: '$(Build.ArtifactStagingDirectory)\release\*.exe'
56+ # addChangeLog: false
You can’t perform that action at this time.
0 commit comments