Skip to content

Commit

Permalink
Rename build variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin committed Nov 15, 2019
1 parent 641cd1d commit 43a060c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ pool:

variables:
buildConfiguration: 'Release'
solution: $(Build.SourcesDirectory)/src/Todo.CLI.sln
solutionFile: $(Build.SourcesDirectory)/src/Todo.CLI.sln
projectDirectory: $(Build.SourcesDirectory)/src/Todo.CLI

steps:
- script: dotnet build $(solution) --configuration $(buildConfiguration)
displayName: 'dotnet build $(solution) $(buildConfiguration)'
- script: dotnet build $(solutionFile) --configuration $(buildConfiguration)
displayName: 'dotnet build $(solutionFile) $(buildConfiguration)'
- script: dotnet publish $(projectDirectory) --configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)
displayName: 'dotnet publish $(projectDirectory) $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 43a060c

Please sign in to comment.