File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 11@ echo off
22setlocal EnableDelayedExpansion
33
4- set _version = 1.8.0.0
4+ set _version = 1.8.0
5+ set _suffix = alpha01
6+ :: goIT Solutions, s.r.o. certificate
7+ set _thumbprint = ac6dbffb1bf8b62281deb8641023a66cddc5db57
58
69mkdir out
710
@@ -10,18 +13,23 @@ xcopy /s /e /y Examples out\Examples\
1013xcopy /s /e /y Tutorials out\Tutorials\
1114xcopy /s /e /y Source out\Source\
1215
13- nuget restore Source\NetOffice.sln
14- msbuild Source\NetOffice.sln /t:Build /p:Configuration=Release /v:m
16+ msbuild Source\NetOffice.sln /t:Restore;Build;Pack /p:IncludeSource=true /p:Configuration=Release /p:VersionSuffix= " %_suffix% " /p:PackageOutputPath= " %CD% \out " /v:m
17+ nuget.exe sign " out\*.nupkg " -CertificateFingerprint " %_thumbprint% " -HashAlgorithm SHA256 -Timestamper http://timestamp.comodoca.com -TimestampHashAlgorithm SHA256 -Overwrite -OutputDirectory out -NonInteractive -ForceEnglishOutput
1518
1619del /s /q Source\ClientApplication\bin\Release\ClientApplication.*
1720del /s /q Source\ClientApplication\bin\Release\stdole.dll
1821
1922xcopy /y Source\ClientApplication\bin\Release " out\Assemblies\Any CPU\"
2023
24+ rem del /s /q Source\ClientApplication\bin\Release\ClientApplication.*
25+ rem del /s /q Source\ClientApplication\bin\Release\*\stdole.dll
26+
27+ xcopy /y /s /i /e Source\ClientApplication\bin\Release " out\Assemblies\"
28+
2129xcopy /y " Breaking Changes.txt" out\
2230xcopy /y BugFixes.txt out\
2331xcopy /y ChangeLog.txt out\
2432
2533pushd out
26- 7z a -tzip ..\NetOffice_v%_version% .zip .
34+ 7z a -tzip ..\NetOffice_v%_version% - %_suffix% .zip .
2735popd
You can’t perform that action at this time.
0 commit comments