Skip to content

Commit 33af2eb

Browse files
committed
Automatically download the missing package files so we can create a delta package
1 parent 09ecc8b commit 33af2eb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Create-Release.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ Function ZipFiles($Filename, $Source)
3030
$NuGet = "$PSScriptRoot\.nuget\NuGet.exe"
3131
&($Nuget) restore Espera.sln
3232
$SquirrelPackagePath = (ls .\packages\squirrel.windows.*)[0]
33-
$Squirrel = Join-Path $SquirrelPackagePath "tools\Squirrel.com"
34-
$SquirrelUpdate = Join-Path $SquirrelPackagePath "tools\Squirrel.exe"
33+
$Squirrel = Join-Path $SquirrelPackagePath "tools\Squirrel.com"
34+
$SquirrelUpdate = Join-Path $SquirrelPackagePath "tools\Squirrel.exe"
35+
$SquirrelSync = Join-Path $SquirrelPackagePath "tools\SyncReleases.exe"
3536

3637
$BuildPath = "$PSScriptRoot\Espera.View\bin\Release"
3738
$NuSpecPath = "$PSScriptRoot\Espera.nuspec"
@@ -72,6 +73,8 @@ if($includeUpdater) {
7273
cp $SquirrelUpdate $BuildPath
7374
}
7475

76+
&($SquirrelSync) -r $ReleasesFolder -u "http://getespera.com/releases/squirrel/"
77+
7578
&($NuGet) pack $NuSpecPath
7679

7780
$SquirrelFullNuPkgOutputPath = "$ReleasesFolder\Espera-$Version-full.nupkg"

0 commit comments

Comments
 (0)