Skip to content

Commit 917b5e2

Browse files
authored
Add github release (#9)
Signed-off-by: Ze Gan <ganze718@gmail.com>
1 parent 4d85caf commit 917b5e2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

azure-pipelines.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,19 @@ steps:
3737
continueOnError: true
3838
artifact: target
3939
displayName: "Archive alphartc gym"
40+
41+
- script: tar -cvzf target.tar.gz target
42+
displayName: 'Compress target'
43+
44+
- task: GitHubRelease@0
45+
inputs:
46+
gitHubConnection: 'Pterosaur (1)'
47+
repositoryName: '$(Build.Repository.Name)'
48+
action: 'create'
49+
tagSource: manual
50+
tag: $(Build.BuildNumber)
51+
title: target
52+
assets: 'target.tar.gz'
53+
changeLogCompareToRelease: 'lastFullRelease'
54+
changeLogType: 'commitBased'
55+
displayName: "Release target"

0 commit comments

Comments
 (0)