Merge pull request #6121 from haon4/csharp_fix

Fix update_version script to use the appropriate rc style for C#
pull/6160/head
Hao Nguyen 6 years ago committed by GitHub
commit c08249b414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      update_version.py

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

Loading…
Cancel
Save