DotCMIS release preparations
git-svn-id: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk@1075041 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/DotCMIS/DotCMIS.csproj b/DotCMIS/DotCMIS.csproj
index f4b2d58..7cc68e6 100644
--- a/DotCMIS/DotCMIS.csproj
+++ b/DotCMIS/DotCMIS.csproj
@@ -34,6 +34,12 @@
<DocumentationFile>bin\Release\DotCMIS.XML</DocumentationFile>
<NoWarn>1591</NoWarn>
</PropertyGroup>
+ <PropertyGroup>
+ <SignAssembly>true</SignAssembly>
+ </PropertyGroup>
+ <PropertyGroup>
+ <AssemblyOriginatorKeyFile>dotcmis.snk</AssemblyOriginatorKeyFile>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -84,6 +90,7 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
+ <None Include="dotcmis.snk" />
<None Include="Service References\CMISWebServicesReference\CMIS-Core.xsd">
<SubType>Designer</SubType>
</None>
diff --git a/DotCMIS/build.bat b/DotCMIS/build.bat
index 767a252..5590d19 100644
--- a/DotCMIS/build.bat
+++ b/DotCMIS/build.bat
@@ -1,3 +1,13 @@
+@echo off
+
+rem This batch file creates the Debug DLL, the Release DLL and the documentation.
+rem It requires the .NET Framework 3.5, Sandcastle and Sandcastle Help File Builder.
+
+echo Building Debug DLL...
msbuild DotCMIS.csproj /ToolsVersion:3.5 /p:Configuration=Debug
+
+echo Building Release DLL...
msbuild DotCMIS.csproj /ToolsVersion:3.5 /p:Configuration=Release
+
+echo Building documentation...
msbuild DotCMIS.shfbproj /ToolsVersion:3.5 /p:Configuration=Release
\ No newline at end of file
diff --git a/DotCMIS/dotcmis.snk b/DotCMIS/dotcmis.snk
new file mode 100644
index 0000000..d3d57d7
--- /dev/null
+++ b/DotCMIS/dotcmis.snk
Binary files differ
diff --git a/README b/README
new file mode 100644
index 0000000..242f111
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+DotCMIS 0.1
\ No newline at end of file
diff --git a/release.bat b/release.bat
new file mode 100644
index 0000000..96f06ca
--- /dev/null
+++ b/release.bat
@@ -0,0 +1,44 @@
+@echo off
+
+rem This batch file creates a release.
+rem It requires Cygwin.
+
+set DOTCMISZIP=dotcmis-0.1.zip
+
+echo Building...
+cd DotCMIS
+call build.bat
+cd ..
+
+echo Creating release directory...
+rmdir /S /Q release
+mkdir release
+
+echo Copying readme, etc...
+copy LICENSE release
+copy NOTICE release
+copy DEPENDENCIES release
+copy README release
+
+echo Copying binaries ...
+copy DotCMIS\bin\Release\DotCMIS.dll release
+copy DotCMIS\doc\DotCMISDoc.chm release
+
+echo Copying source...
+mkdir release\source
+xcopy DotCMIS release\source /E
+rmdir /S /Q release\source\bin
+rmdir /S /Q release\source\obj
+rmdir /S /Q release\source\doc
+
+echo Creating release file...
+del %DOTCMISZIP%
+cd release
+zip -r ..\%DOTCMISZIP% *
+cd ..
+
+echo Signing release file...
+gpg --armor --output %DOTCMISZIP%.asc --detach-sig %DOTCMISZIP%
+gpg --print-md MD5 %DOTCMISZIP% > %DOTCMISZIP%.md5
+gpg --print-md SHA512 %DOTCMISZIP% > %DOTCMISZIP%.sha
+