From 52b612647dec7083c779d486fd0129920164a1d4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 16:15:38 +0100 Subject: [PATCH 1/3] try to add a nuget feed --- azure-pipelines.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e6e0b8..0b52ea6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,4 +27,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 From b461abd48280c3ef966572ec1c58e0d996048bdc Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 16:25:07 +0100 Subject: [PATCH 2/3] fix the build number --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0b52ea6..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' From b88f28bfdb30dd5445ead55936679d0285eb7100 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 16:30:01 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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