Skip to content
This repository was archived by the owner on Aug 4, 2022. It is now read-only.

Commit b621659

Browse files
authored
[REEF-2068] Bugfix: change_version.py fails on file build.DotNet.props (#1507)
We no longer have the build.DotNet.props file in our system. The script should update the file lang/cs/build.Common.props instead. JIRA: [REEF-2068](https://issues.apache.org/jira/projects/REEF/issues/REEF-2068)
1 parent 38bb194 commit b621659

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/change_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def change_assembly_info_cs(file, new_version):
147147
f.close()
148148

149149
"""
150-
Change Version in lang/cs/build.DotNet.props
150+
Change Version in lang/cs/build.Common.props
151151
"""
152152
def change_dotnet_props_cs(file, new_version):
153153
changed_str = ""
@@ -360,8 +360,8 @@ def change_version(reef_home, new_version, pom_only):
360360
change_project_number_Doxyfile(reef_home + "/Doxyfile", new_version)
361361
print reef_home + "/Doxyfile"
362362

363-
change_dotnet_props_cs(reef_home + "/lang/cs/build.DotNet.props", new_version)
364-
print reef_home + "/lang/cs/build.DotNet.props"
363+
change_dotnet_props_cs(reef_home + "/lang/cs/build.Common.props", new_version)
364+
print reef_home + "/lang/cs/build.Common.props"
365365

366366
change_reef_on_spark_scala(reef_home + "/lang/scala/reef-examples-scala/src/main/scala/org/apache/reef/examples/hellospark/ReefOnSpark.scala", new_version)
367367
print reef_home + "/lang/scala/reef-examples-scala/src/main/scala/org/apache/reef/examples/hellospark/ReefOnSpark.scala"

0 commit comments

Comments
 (0)