Home:ALL Converter>Publish package in Azure Devops Artifacts using Azure Pipelines

Publish package in Azure Devops Artifacts using Azure Pipelines

Ask Time:2019-02-22T06:37:48         Author:Miguel Moura

Json Formatter

I am using Azure Pipelines from a Github Repository.

I was able to build a Dotnet Core class library using azure-pipelines.yml:

trigger:
- master

pool:
  vmImage: 'Ubuntu-16.04'

variables:
  buildConfiguration: 'Release'

steps:
- script: dotnet build --configuration $(buildConfiguration)
  displayName: 'build' 

What to add to this script to publish a package to Azure Devops Artifacts after build?

And how to set each version release? From GitHub tag?

Author:Miguel Moura,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/54817344/publish-package-in-azure-devops-artifacts-using-azure-pipelines
yy