diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5bb9f29743..4b01aab6a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,7 @@ variables: testsFolder: './_tests' yarnCacheFolder: $(Pipeline.Workspace)/.yarn nugetCacheFolder: $(Pipeline.Workspace)/.nuget/packages - majorVersion: '6.1.1' + majorVersion: '6.1.2' minorVersion: $[counter('minorVersion', 2000)] radarrVersion: '$(majorVersion).$(minorVersion)' buildName: '$(Build.SourceBranchName).$(radarrVersion)' @@ -17,7 +17,7 @@ variables: sentryUrl: 'https://sentry.servarr.com' dotnetVersion: '8.0.405' nodeVersion: '20.X' - innoVersion: '6.2.2' + innoVersion: '6.7.1' windowsImage: 'windows-2025' linuxImage: 'ubuntu-24.04' macImage: 'macOS-15' @@ -1093,7 +1093,7 @@ stages: vmImage: ${{ variables.windowsImage }} steps: - checkout: self # Need history for Sonar analysis - - task: SonarCloudPrepare@3 + - task: SonarCloudPrepare@4 env: SONAR_SCANNER_OPTS: '' inputs: @@ -1105,7 +1105,7 @@ stages: cliProjectName: 'RadarrUI' cliProjectVersion: '$(radarrVersion)' cliSources: './frontend' - - task: SonarCloudAnalyze@3 + - task: SonarCloudAnalyze@4 - job: Api_Docs displayName: API Docs @@ -1182,7 +1182,7 @@ stages: submodules: true - powershell: Set-Service SCardSvr -StartupType Manual displayName: Enable Windows Test Service - - task: SonarCloudPrepare@3 + - task: SonarCloudPrepare@4 condition: eq(variables['System.PullRequest.IsFork'], 'False') inputs: SonarCloud: 'SonarCloud' @@ -1200,7 +1200,7 @@ stages: ./build.sh --backend -f net8.0 -r win-x64 TEST_DIR=_tests/net8.0/win-x64/publish/ ./test.sh Windows Unit Coverage displayName: Coverage Unit Tests - - task: SonarCloudAnalyze@3 + - task: SonarCloudAnalyze@4 condition: eq(variables['System.PullRequest.IsFork'], 'False') displayName: Publish SonarCloud Results - task: reportgenerator@5 diff --git a/build.sh b/build.sh index 73e785bebe..d77a6f9f35 100755 --- a/build.sh +++ b/build.sh @@ -149,7 +149,7 @@ PackageMacOS() { local framework="$1" local runtime="$2" - + ProgressStart "Creating MacOS Package for $framework $runtime" local folder=$artifactsFolder/$runtime/$framework/Radarr @@ -177,7 +177,7 @@ PackageMacOSApp() { local framework="$1" local runtime="$2" - + ProgressStart "Creating macOS App Package for $framework $runtime" local folder="$artifactsFolder/$runtime-app/$framework" @@ -200,11 +200,11 @@ PackageWindows() { local framework="$1" local runtime="$2" - + ProgressStart "Creating Windows Package for $framework" local folder=$artifactsFolder/$runtime/$framework/Radarr - + PackageFiles "$folder" "$framework" "$runtime" cp -r $outputFolder/$framework-windows/$runtime/publish/* $folder @@ -245,20 +245,20 @@ BuildInstaller() { local framework="$1" local runtime="$2" - + ./_inno/ISCC.exe distribution/windows/setup/radarr.iss "//DFramework=$framework" "//DRuntime=$runtime" } InstallInno() { ProgressStart "Installing portable Inno Setup" - + rm -rf _inno - curl -s --output innosetup.exe "https://files.jrsoftware.org/is/6/innosetup-${INNOVERSION:-6.2.2}.exe" + curl -s -L --output innosetup.exe "https://github.com/jrsoftware/issrc/releases/download/is-${INNOVERSION//./_}/innosetup-${INNOVERSION}.exe" mkdir _inno ./innosetup.exe //portable=1 //silent //currentuser //dir=.\\_inno rm innosetup.exe - + ProgressEnd "Installed portable Inno Setup" } diff --git a/src/Radarr.Http/Frontend/Mappers/BackupFileMapper.cs b/src/Radarr.Http/Frontend/Mappers/BackupFileMapper.cs index 612b3515b6..e0f624a242 100644 --- a/src/Radarr.Http/Frontend/Mappers/BackupFileMapper.cs +++ b/src/Radarr.Http/Frontend/Mappers/BackupFileMapper.cs @@ -15,7 +15,7 @@ public BackupFileMapper(IBackupService backupService, IDiskProvider diskProvider _backupService = backupService; } - protected override string FolderPath => _backupService.GetBackupFolder(); + protected override string FolderPath => _backupService.GetBackupFolder().TrimEnd(Path.DirectorySeparatorChar); protected override string MapPath(string resourceUrl) {