Skip to content

Commit 79d72b5

Browse files
authored
Add github release (#70)
Signed-off-by: Ze Gan <[email protected]>
1 parent b68237f commit 79d72b5

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

azure-pipelines.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,23 @@ steps:
3838
&& docker exec alphartc_pyinfer peerconnection_serverless sender_pyinfer.json
3939
displayName: 'run pyinfer example'
4040

41-
- publish: $(System.DefaultWorkingDirectory)/target
41+
- script: docker save alphartc | gzip > alphartc.tar.gz
42+
displayName: "Export alphartc docker image"
43+
44+
- publish: $(System.DefaultWorkingDirectory)/alphartc.tar.gz
4245
continueOnError: true
43-
artifact: target
46+
artifact: alphartc.tar.gz
4447
displayName: "Archive AlphaRTC Peerconnection"
48+
49+
- task: GitHubRelease@0
50+
inputs:
51+
gitHubConnection: 'Pterosaur (1)'
52+
repositoryName: '$(Build.Repository.Name)'
53+
action: 'create'
54+
tagSource: manual
55+
tag: $(Build.BuildNumber)
56+
title: alphartc
57+
assets: '$(System.DefaultWorkingDirectory)/alphartc.tar.gz'
58+
changeLogCompareToRelease: 'lastFullRelease'
59+
changeLogType: 'commitBased'
60+
displayName: "Release target"

0 commit comments

Comments
 (0)