diff --git a/pipelines/linux-x64.yml b/pipelines/linux-x64.yml index c657638..d9768a4 100644 --- a/pipelines/linux-x64.yml +++ b/pipelines/linux-x64.yml @@ -12,6 +12,7 @@ variables: projectDirectory: $(Build.SourcesDirectory)/src/Todo.CLI/ runtimeIdentifier: linux-x64 outputDirectory: $(Build.ArtifactStagingDirectory)/$(runtimeIdentifier)/ + artifactName: 'todo.$(Build.BuildNumber).$(runtimeIdentifier)' steps: - script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true @@ -20,5 +21,5 @@ steps: displayName: 'Publish artefact for $(runtimeIdentifier)' inputs: PathtoPublish: '$(outputDirectory)' - ArtifactName: 'todo-cli.$(runtimeIdentifier)' + ArtifactName: '$(artifactName)' publishLocation: 'Container' diff --git a/pipelines/osx-x64.yml b/pipelines/osx-x64.yml index 01a0a8d..c3479f2 100644 --- a/pipelines/osx-x64.yml +++ b/pipelines/osx-x64.yml @@ -12,6 +12,7 @@ variables: projectDirectory: $(Build.SourcesDirectory)/src/Todo.CLI/ runtimeIdentifier: osx-x64 outputDirectory: $(Build.ArtifactStagingDirectory)/$(runtimeIdentifier)/ + artifactName: 'todo.$(Build.BuildNumber).$(runtimeIdentifier)' steps: - script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true @@ -20,5 +21,5 @@ steps: displayName: 'Publish artefact for $(runtimeIdentifier)' inputs: PathtoPublish: '$(outputDirectory)' - ArtifactName: 'todo-cli.$(runtimeIdentifier)' + ArtifactName: '$(artifactName)' publishLocation: 'Container' diff --git a/pipelines/win10-x64.yml b/pipelines/win10-x64.yml index 7546f12..a8717a0 100644 --- a/pipelines/win10-x64.yml +++ b/pipelines/win10-x64.yml @@ -12,6 +12,7 @@ variables: projectDirectory: $(Build.SourcesDirectory)/src/Todo.CLI/ runtimeIdentifier: win10-x64 outputDirectory: $(Build.ArtifactStagingDirectory)/$(runtimeIdentifier)/ + artifactName: 'todo.$(Build.BuildNumber).$(runtimeIdentifier)' steps: - script: dotnet publish $(projectDirectory) -c $(buildConfiguration) -r $(runtimeIdentifier) -o $(outputDirectory) /p:Version=$(Build.BuildNumber) --self-contained true @@ -20,5 +21,5 @@ steps: displayName: 'Publish artefact for $(runtimeIdentifier)' inputs: PathtoPublish: '$(outputDirectory)' - ArtifactName: 'todo-cli.$(runtimeIdentifier)' + ArtifactName: '$(artifactName)' publishLocation: 'Container'