You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by zo...@apache.org on 2023/03/27 17:22:58 UTC

[avro] branch master updated: Add RollForward prop (#2162)

This is an automated email from the ASF dual-hosted git repository.

zoltan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 4fbd448fe Add RollForward prop (#2162)
4fbd448fe is described below

commit 4fbd448fecb4a45dbe5b493eeb769ee1d2ac7310
Author: Zoltan Csizmadia <zc...@gmail.com>
AuthorDate: Mon Mar 27 12:22:50 2023 -0500

    Add RollForward prop (#2162)
    
    Co-authored-by: Zoltan Csizmadia <Cs...@valassis.com>
---
 lang/csharp/src/apache/codegen/Avro.codegen.csproj | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lang/csharp/src/apache/codegen/Avro.codegen.csproj b/lang/csharp/src/apache/codegen/Avro.codegen.csproj
index dfb438d37..94aa81231 100644
--- a/lang/csharp/src/apache/codegen/Avro.codegen.csproj
+++ b/lang/csharp/src/apache/codegen/Avro.codegen.csproj
@@ -49,6 +49,14 @@
     </Description>
   </PropertyGroup>
 
+  <!--
+    Roll-forward to the next available higher major version, and lowest minor version, if requested major version is missing. If the requested major version is present, then the Minor policy is used.
+    https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#rollforward
+  -->
+  <PropertyGroup>
+    <RollForward>Major</RollForward>
+  </PropertyGroup>
+
   <PropertyGroup Condition="'$(Configuration)'=='Release'">
     <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
     <WarningsAsErrors />