Skip to content

Commit 9f260c9

Browse files
authored
Attempt draft release from CI (#45)
* #16: attempt draft release from azure
1 parent 64fef0d commit 9f260c9

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
trigger: [master]
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- master
6+
- refs/tags/v*
27

38
pr: [master]
49

@@ -49,3 +54,4 @@ jobs:
4954

5055
# group 3: reporting, etc
5156
- template: ci/job.combine.yml
57+
- template: ci/job.release.yml

ci/job.release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
parameters:
2+
name: Linux
3+
vmImage: ubuntu-16.04
4+
githubConnection: release-robots-from-jupyter
5+
repositoryName: robots-from-jupyter/robotlab
6+
artifact: RobotLab
7+
8+
jobs:
9+
- job: Deploy
10+
pool:
11+
vmImage: ${{ parameters.vmImage }}
12+
dependsOn:
13+
- LinuxTest
14+
- MacOSXTest
15+
- WindowsTest
16+
- conda_win_test
17+
- conda_noarch_test
18+
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
19+
steps:
20+
- task: DownloadBuildArtifacts@0
21+
displayName: Fetch Linux Installer
22+
inputs:
23+
artifactName: ${{ parameters.artifact }} For Linux
24+
downloadPath: _artifacts/constructor
25+
- task: DownloadBuildArtifacts@0
26+
displayName: Fetch MacOSX Installer
27+
inputs:
28+
artifactName: ${{ parameters.artifact }} For MacOSX
29+
downloadPath: _artifacts/constructor
30+
- task: DownloadBuildArtifacts@0
31+
displayName: Fetch Windows Installer
32+
inputs:
33+
artifactName: ${{ parameters.artifact }} For Windows
34+
downloadPath: _artifacts/constructor
35+
- script: cd _artifacts/constructor && sha256sum * >> SHA256SUMS
36+
displayName: build hashes
37+
- task: GithubRelease@0
38+
inputs:
39+
githubConnection: ${{ parameters.githubConnection }}
40+
repositoryName: ${{ parameters.repositoryName }}
41+
assets: _artifacts/constructor
42+
isDraft: true

0 commit comments

Comments
 (0)