diff --git a/README.md b/README.md index 747122a..069497c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MLEM (M)LEM (L)ibrary by (E)llpeck for (M)onoGame -Get it at https://www.nuget.org/packages?q=mlem +Get it at https://www.nuget.org/packages?q=mlem or use the prerelease feed at https://dev.azure.com/Ellpeck/Public/_packaging -To talk about MLEM and suggest features or report issues, join the Discord at https://ellpeck.de/discord \ No newline at end of file +To talk about MLEM and suggest features or report issues, join the Discord at https://ellpeck.de/discord diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e6e0b8..f5db8cc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,6 +9,8 @@ trigger: pool: vmImage: 'windows-latest' +name: $(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) + variables: solution: '**/*.sln' buildPlatform: 'Any CPU' @@ -27,4 +29,18 @@ steps: projects: | **/MLEM*.csproj **/Demos.csproj - **/Demos.DesktopGL.csproj \ No newline at end of file + **/Demos.DesktopGL.csproj + +- task: DotNetCoreCLI@2 + inputs: + command: 'pack' + packagesToPack: '**/MLEM*.csproj' + versioningScheme: 'byBuildNumber' + +- task: NuGetCommand@2 + inputs: + command: 'push' + packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' + nuGetFeedType: 'internal' + publishVstsFeed: '706ac046-8929-4e12-a3fc-31c6da632843/1e458b61-aefe-4164-82ca-8a63d1ccc611' + allowPackageConflicts: true