forked from phw198/OutlookGoogleCalendarSync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuget-build.bat
32 lines (24 loc) · 1.8 KB
/
nuget-build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set RELEASE=2.8.0-beta
cd src
del Releases\OutlookGoogleCalendarSync-%RELEASE%-full.nupkg
del Releases\OutlookGoogleCalendarSync-%RELEASE%-delta.nupkg
..\nuget.exe pack OutlookGoogleCalendarSync\OutlookGoogleCalendarSync.nuspec
cd ..
REM Sign the stand-alone OGCS executable
REM src\packages\squirrel.windows.1.9.0\tools\signtool.exe sign /n "Open Source Developer, Paul Woolcock" /tr http://time.certum.pl/ /td sha256 /fd sha256 /v src\OutlookGoogleCalendarSync\bin\Release\OutlookGoogleCalendarSync.exe
REM In VS Package Manager
REM PM> Install-Package squirrel.windows -Version 1.9.0
REM PM> packages\squirrel.windows.1.9.0\tools\Squirrel --releasify OutlookGoogleCalendarSync.2.8.0-beta.nupkg --no-msi --loadingGif=..\docs\images\ogcs128x128-animated.gif
REM Sign the Squirrel install executable
REM src\packages\squirrel.windows.1.9.0\tools\signtool.exe sign /n "Open Source Developer, Paul Woolcock" /tr http://time.certum.pl/ /td sha256 /fd sha256 /v src\Releases\Setup.exe
REM Build ZIP
PAUSE
cd src\OutlookGoogleCalendarSync\bin\Release
"c:\Program Files\7-Zip\7z.exe" u Portable_OGCS_v2.7.9.zip -u- -up0q0r2x2y2z1w2!Portable_OGCS_v2.8.0.zip *.dll *.ps1 ErrorReportingTemplate.json logger.xml tzdb.nzd OutlookGoogleCalendarSync.exe OutlookGoogleCalendarSync.exe.config Console\*
"c:\Program Files\7-Zip\7z.exe" e Portable_OGCS_v2.7.9.zip Microsoft.Office.Interop.Outlook.DLL
"c:\Program Files\7-Zip\7z.exe" e Portable_OGCS_v2.7.9.zip stdole.dll
"c:\Program Files\7-Zip\7z.exe" e Portable_OGCS_v2.7.9.zip "Windows Defender SmartScreen Unblock.ps1"
"c:\Program Files\7-Zip\7z.exe" a Portable_OGCS_v2.8.0.zip Microsoft.Office.Interop.Outlook.DLL
"c:\Program Files\7-Zip\7z.exe" a Portable_OGCS_v2.8.0.zip stdole.dll
"c:\Program Files\7-Zip\7z.exe" a Portable_OGCS_v2.8.0.zip "Windows Defender SmartScreen Unblock.ps1"
cd ..\..\..\..