Browse Source

Fix path for naming, and add extra CopyFIle Task.

Erwin de Haan 6 years ago
parent
commit
6b1a64652f
1 changed files with 13 additions and 3 deletions
  1. 13 3
      .azure/azure-pipelines.yml

+ 13 - 3
.azure/azure-pipelines.yml

@@ -72,7 +72,7 @@ jobs:
       displayName: 'Publish Artifact Naming'
       displayName: 'Publish Artifact Naming'
       condition: eq(variables['BuildConfiguration'], 'Release')
       condition: eq(variables['BuildConfiguration'], 'Release')
       inputs:
       inputs:
-        PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Naming.dll'
+        PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/Emby.Naming.dll'
         artifactName: 'Jellyfin.Naming'
         artifactName: 'Jellyfin.Naming'
 
 
     - task: PublishBuildArtifacts@1
     - task: PublishBuildArtifacts@1
@@ -126,7 +126,7 @@ jobs:
         arguments: 'install $(NugetPackageName) -OutputDirectory $(System.ArtifactsDirectory)/packages -ExcludeVersion -DirectDownload'
         arguments: 'install $(NugetPackageName) -OutputDirectory $(System.ArtifactsDirectory)/packages -ExcludeVersion -DirectDownload'
 
 
     - task: CopyFiles@2
     - task: CopyFiles@2
-      displayName: Copy Nuget Assembly to release folder
+      displayName: Copy Nuget Assembly to current-release folder
       inputs:
       inputs:
         sourceFolder: $(System.ArtifactsDirectory)/packages/$(NugetPackageName) # Optional
         sourceFolder: $(System.ArtifactsDirectory)/packages/$(NugetPackageName) # Optional
         contents: '**/*.dll'
         contents: '**/*.dll'
@@ -142,7 +142,17 @@ jobs:
         allowPartiallySucceededBuilds: false # Optional
         allowPartiallySucceededBuilds: false # Optional
         downloadType: 'single' # Options: single, specific
         downloadType: 'single' # Options: single, specific
         artifactName: '$(NugetPackageName)' # Required when downloadType == Single
         artifactName: '$(NugetPackageName)' # Required when downloadType == Single
-        downloadPath: '$(System.ArtifactsDirectory)/new-release'
+        downloadPath: '$(System.ArtifactsDirectory)/new-artifacts'
+
+    - task: CopyFiles@2
+      displayName: Copy Artifact Assembly to new-release folder
+      inputs:
+        sourceFolder: $(System.ArtifactsDirectory)/new-artifacts # Optional
+        contents: '**/*.dll'
+        targetFolder: $(System.ArtifactsDirectory)/new-release
+        cleanTargetFolder: true # Optional
+        overWrite: true # Optional
+        flattenFolders: true # Optional
 
 
     - task: DownloadGitHubReleases@0
     - task: DownloadGitHubReleases@0
       displayName: Download ABI compatibility check tool from GitHub
       displayName: Download ABI compatibility check tool from GitHub