forked from OrleansContrib/Orleans.CosmosDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vsts-release.yml
53 lines (45 loc) · 1.51 KB
/
.vsts-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
queue: 'Hosted VS2017'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '**/*.csproj'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**/*.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: pack
packagesToPack: 'src/Orleans.Clustering.CosmosDB/*.csproj'
packDirectory: '$(build.artifactStagingDirectory)'
configuration: '$(buildConfiguration)'
versioningScheme: byEnvVar
versionEnvVar: Version
- task: DotNetCoreCLI@2
inputs:
command: pack
packagesToPack: 'src/Orleans.Persistence.CosmosDB/*.csproj'
packDirectory: '$(build.artifactStagingDirectory)'
configuration: '$(buildConfiguration)'
versioningScheme: byEnvVar
versionEnvVar: Version
- task: DotNetCoreCLI@2
inputs:
command: pack
packagesToPack: 'src/Orleans.Reminders.CosmosDB/*.csproj'
packDirectory: '$(build.artifactStagingDirectory)'
configuration: '$(buildConfiguration)'
versioningScheme: byEnvVar
versionEnvVar: Version
- task: NuGetCommand@2
inputs:
command: push
packagesToPush: '$(build.ArtifactStagingDirectory)/**/*.nupkg;!$(build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
publishFeedCredentials: 'OSS'
nuGetFeedType: external
versioningScheme: byEnvVar
versionEnvVar: Version