Explorar el Código

Fix update version to use the appropriate rc style for C#

Hao Nguyen hace 6 años
padre
commit
fdfe761022
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      update_version.py

+ 2 - 2
update_version.py

@@ -155,13 +155,13 @@ def UpdateCsharp():
   RewriteXml('csharp/src/Google.Protobuf/Google.Protobuf.csproj',
     lambda document : ReplaceText(
       Find(Find(document.documentElement, 'PropertyGroup'), 'VersionPrefix'),
-      GetFullVersion(rc_suffix = '-rc.')),
+      GetFullVersion(rc_suffix = '-rc')),
     add_xml_prefix=False)
 
   RewriteXml('csharp/Google.Protobuf.Tools.nuspec',
     lambda document : ReplaceText(
       Find(Find(document.documentElement, 'metadata'), 'version'),
-      GetFullVersion(rc_suffix = '-rc.')))
+      GetFullVersion(rc_suffix = '-rc')))
 
 
 def UpdateJava():