mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-26 17:44:24 -04:00
Compare commits
2 Commits
sonarr-pul
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ae71b54a7 | ||
|
|
079e2136ee |
@@ -9,7 +9,7 @@ variables:
|
|||||||
testsFolder: './_tests'
|
testsFolder: './_tests'
|
||||||
yarnCacheFolder: $(Pipeline.Workspace)/.yarn
|
yarnCacheFolder: $(Pipeline.Workspace)/.yarn
|
||||||
nugetCacheFolder: $(Pipeline.Workspace)/.nuget/packages
|
nugetCacheFolder: $(Pipeline.Workspace)/.nuget/packages
|
||||||
majorVersion: '6.1.1'
|
majorVersion: '6.1.2'
|
||||||
minorVersion: $[counter('minorVersion', 2000)]
|
minorVersion: $[counter('minorVersion', 2000)]
|
||||||
radarrVersion: '$(majorVersion).$(minorVersion)'
|
radarrVersion: '$(majorVersion).$(minorVersion)'
|
||||||
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
|
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
|
||||||
@@ -17,7 +17,7 @@ variables:
|
|||||||
sentryUrl: 'https://sentry.servarr.com'
|
sentryUrl: 'https://sentry.servarr.com'
|
||||||
dotnetVersion: '8.0.405'
|
dotnetVersion: '8.0.405'
|
||||||
nodeVersion: '20.X'
|
nodeVersion: '20.X'
|
||||||
innoVersion: '6.2.2'
|
innoVersion: '6.7.1'
|
||||||
windowsImage: 'windows-2025'
|
windowsImage: 'windows-2025'
|
||||||
linuxImage: 'ubuntu-24.04'
|
linuxImage: 'ubuntu-24.04'
|
||||||
macImage: 'macOS-15'
|
macImage: 'macOS-15'
|
||||||
|
|||||||
16
build.sh
16
build.sh
@@ -149,7 +149,7 @@ PackageMacOS()
|
|||||||
{
|
{
|
||||||
local framework="$1"
|
local framework="$1"
|
||||||
local runtime="$2"
|
local runtime="$2"
|
||||||
|
|
||||||
ProgressStart "Creating MacOS Package for $framework $runtime"
|
ProgressStart "Creating MacOS Package for $framework $runtime"
|
||||||
|
|
||||||
local folder=$artifactsFolder/$runtime/$framework/Radarr
|
local folder=$artifactsFolder/$runtime/$framework/Radarr
|
||||||
@@ -177,7 +177,7 @@ PackageMacOSApp()
|
|||||||
{
|
{
|
||||||
local framework="$1"
|
local framework="$1"
|
||||||
local runtime="$2"
|
local runtime="$2"
|
||||||
|
|
||||||
ProgressStart "Creating macOS App Package for $framework $runtime"
|
ProgressStart "Creating macOS App Package for $framework $runtime"
|
||||||
|
|
||||||
local folder="$artifactsFolder/$runtime-app/$framework"
|
local folder="$artifactsFolder/$runtime-app/$framework"
|
||||||
@@ -200,11 +200,11 @@ PackageWindows()
|
|||||||
{
|
{
|
||||||
local framework="$1"
|
local framework="$1"
|
||||||
local runtime="$2"
|
local runtime="$2"
|
||||||
|
|
||||||
ProgressStart "Creating Windows Package for $framework"
|
ProgressStart "Creating Windows Package for $framework"
|
||||||
|
|
||||||
local folder=$artifactsFolder/$runtime/$framework/Radarr
|
local folder=$artifactsFolder/$runtime/$framework/Radarr
|
||||||
|
|
||||||
PackageFiles "$folder" "$framework" "$runtime"
|
PackageFiles "$folder" "$framework" "$runtime"
|
||||||
cp -r $outputFolder/$framework-windows/$runtime/publish/* $folder
|
cp -r $outputFolder/$framework-windows/$runtime/publish/* $folder
|
||||||
|
|
||||||
@@ -245,20 +245,20 @@ BuildInstaller()
|
|||||||
{
|
{
|
||||||
local framework="$1"
|
local framework="$1"
|
||||||
local runtime="$2"
|
local runtime="$2"
|
||||||
|
|
||||||
./_inno/ISCC.exe distribution/windows/setup/radarr.iss "//DFramework=$framework" "//DRuntime=$runtime"
|
./_inno/ISCC.exe distribution/windows/setup/radarr.iss "//DFramework=$framework" "//DRuntime=$runtime"
|
||||||
}
|
}
|
||||||
|
|
||||||
InstallInno()
|
InstallInno()
|
||||||
{
|
{
|
||||||
ProgressStart "Installing portable Inno Setup"
|
ProgressStart "Installing portable Inno Setup"
|
||||||
|
|
||||||
rm -rf _inno
|
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
|
mkdir _inno
|
||||||
./innosetup.exe //portable=1 //silent //currentuser //dir=.\\_inno
|
./innosetup.exe //portable=1 //silent //currentuser //dir=.\\_inno
|
||||||
rm innosetup.exe
|
rm innosetup.exe
|
||||||
|
|
||||||
ProgressEnd "Installed portable Inno Setup"
|
ProgressEnd "Installed portable Inno Setup"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user