Skip to content

Commit dbe5bac

Browse files
committed
fix: build script was targeting the wrong file name
1 parent 274164a commit dbe5bac

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/Squirrel.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
4-
<version>2.1.1</version>
4+
<version>2.1.2</version>
55
<authors>GitHub</authors>
66
<owners>Anaïs Betts</owners>
77
<licenseUrl>https://github.com/squirrel/Squirrel.Windows/blob/master/COPYING</licenseUrl>

src/build_official.cmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ nuget pack Squirrel.nuspec -OutputDirectory ..\build\artifacts || exit /b
4040

4141
md ..\build\artifacts\electron-winstaller\vendor
4242

43-
copy ..\build\Release\net462\Update462.exe ..\build\artifacts\electron-winstaller\vendor\Squirrel.exe || exit /b
44-
copy ..\build\Release\net462\Update462.pdb ..\build\artifacts\electron-winstaller\vendor\Squirrel.pdb || exit /b
43+
:: electron-builder expects the normally renamed Squirrel.exe to be Update.exe in it's project
44+
:: we'll rename all to Update.exe along with the .pdb
45+
copy ..\build\Release\net462\Update462.exe ..\build\artifacts\electron-winstaller\vendor\Update.exe || exit /b
46+
copy ..\build\Release\net462\Update462.pdb ..\build\artifacts\electron-winstaller\vendor\Update.pdb || exit /b
4547
copy ..\build\Release\net462\Update.com ..\build\artifacts\electron-winstaller\vendor\Update.com || exit /b
4648
copy ..\build\Release\Win32\Setup.exe ..\build\artifacts\electron-winstaller\vendor || exit /b
4749
copy ..\build\Release\Win32\Setup.pdb ..\build\artifacts\electron-winstaller\vendor || exit /b

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.1.1",
2+
"version": "2.1.2",
33
"publicReleaseRefSpec": [
44
"^refs/heads/master$"
55
],

0 commit comments

Comments
 (0)