瀏覽代碼

Release preparation

Jon Skeet 15 年之前
父節點
當前提交
ae9b3ff224

+ 25 - 0
ProtocolBuffers.build

@@ -83,6 +83,29 @@
     <call target="dist" />
   </target>
   
+  <target name="clean-build-all"
+          description="Rebuilds all source and binaries in all configurations, including distribution">
+
+  <!-- 
+    - Use call instead of dependencies to make it clear what's going on: we
+    - need to call some targets multiple times.
+    -->
+    <call target="clean" />
+    <call target="build" />
+    <call target="generate-source" />
+    <call target="copy-generated-source" />
+    <!-- Now we've got fresh source, build again -->
+    <call target="clean" />
+    <call target="build-all-configs" />
+    <!-- 
+      - In particularly insane situations we should possibly do another
+      - round of generating source and building, but it gets silly.
+      -->
+    
+    <call target="test" />
+    <call target="dist" />
+  </target>
+
   <target name="clean" 
           description="Removes built binaries (of all configurations) and the source generation directory">
     <delete>
@@ -265,6 +288,7 @@
         <include name="ProtoMunge/bin/Debug/ProtoMunge.*" />
         <include name="ProtoDump/bin/Debug/ProtoDump.*" />
         <include name="ProtoBench/bin/Debug/ProtoBench.*" />
+        <exclude name="**/*vshost*" />
       </fileset>
     </copy>    
     <copy todir="${output-dir}/Release"
@@ -275,6 +299,7 @@
         <include name="ProtoMunge/bin/Release/ProtoMunge.*" />
         <include name="ProtoDump/bin/Release/ProtoDump.*" />
         <include name="ProtoBench/bin/Release/ProtoBench.*" />
+        <exclude name="**/*vshost*" />
       </fileset>
     </copy>    
     <copy todir="${output-dir}/Silverlight2"

+ 30 - 1
readme.txt

@@ -1 +1,30 @@
-Welcome! This is, of course, a placeholder file.
+Welcome to the C# port of Google Protocol Buffers, written by Jon Skeet
+(skeet@pobox.com) based on the work of many talented people.
+
+For more information about this port, visit its homepage:
+http://protobuf-csharp-port.googlecode.com
+
+For more information about Protocol Buffers in general, visit the
+project page for the C++, Java and Python project:
+http://protobuf.googlecode.com
+
+
+Release 0.9
+-----------
+
+Due to popular demand, I have built a version of the binaries to put
+on the web site. Currently these are set at assembly version 0.9,
+and an assembly file version of 0.9. This should be seen as a mark
+of the readiness of the release process more than the stability of
+the code. As far as I'm aware, the code itself is perfectly fine: I
+certainly have plans for more features particularly around making
+code generation simpler, but you should feel confident about the
+parsing and serialization of messages produced with this version of
+the library. Of course, if you do find any problems, *please* report
+them at the web site.
+
+Currently the downloadable release is built with the snk file which
+is in the open source library. I am considering having a privately
+held key so that you can check that you're building against a
+"blessed" release - feedback on this (and any other aspect of the
+release process) is very welcome.

+ 2 - 2
src/AddressBook/Properties/AssemblyInfo.cs

@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]

+ 2 - 2
src/ProtoBench/Properties/AssemblyInfo.cs

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]

+ 2 - 2
src/ProtoDump/Properties/AssemblyInfo.cs

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]

+ 2 - 2
src/ProtoGen.Test/Properties/AssemblyInfo.cs

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]

+ 2 - 2
src/ProtoGen/Properties/AssemblyInfo.cs

@@ -32,8 +32,8 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]
 [assembly: InternalsVisibleTo("Google.ProtocolBuffers.ProtoGen.Test,PublicKey=" +
 "0024000004800000940000000602000000240000525341310004000001000100cf43741ffc3e65" +
 "c85707245e144e90f1bb82f20d1b1555846008d4d5d5c9270a980350dcb1ddd40fcdde13c2780c" +

+ 2 - 2
src/ProtoMunge/Properties/AssemblyInfo.cs

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]

+ 2 - 2
src/ProtocolBuffers.Test/Properties/AssemblyInfo.cs

@@ -33,8 +33,8 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]
 // We don't really need CLSCompliance, but if the assembly builds with no warnings,
 // that means the generator is okay.
 [assembly: CLSCompliant(true)]

+ 2 - 2
src/ProtocolBuffers/Properties/AssemblyInfo.cs

@@ -63,9 +63,9 @@ using System.Runtime.CompilerServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyVersion("0.9.0.0")]
 #if !COMPACT_FRAMEWORK_35
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("0.9.0.0")]
 #endif
 
 [assembly:InternalsVisibleTo("Google.ProtocolBuffers.Test,PublicKey="+