Revert force release setting of dotnet_build_conf accepted/tizen/unified/20170828.164841 submit/tizen/20170828.091908
authorWonYoung Choi <wy80.choi@samsung.com>
Mon, 28 Aug 2017 09:18:34 +0000 (18:18 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Mon, 28 Aug 2017 09:18:34 +0000 (18:18 +0900)
Change-Id: I71e19230f042d0f665310cbcafebf3dd6015ca98

packaging/macros.dotnet-build-tools

index a40fd66..9cd4b95 100644 (file)
@@ -14,7 +14,7 @@
 %dotnet_assembly_files  %{_dotnet_assembly_path}/*.dll
 %dotnet_nuget_source    %{_dotnet_nuget_source}
 
-%_dotnet_build_conf Release
+%_dotnet_build_conf %{lua:if tonumber(rpm.expand("0%{?tizen_build_devel_mode}")) == 1 then print "Debug" else print "Release" end}
 
 %dotnet_nuget_package(n:f:)\
 %package %{-n:-n %{-n*}-}nuget\