From 70bffa111a7c9d25b69162d5be617a23a2d35f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Ga=C3=9Fmann?= Date: Fri, 19 May 2017 22:00:13 +0200 Subject: [PATCH] [.NET NUGET] DON'T SET SUFFIX FOR RELEASES (#548) Previously "-None" was set as version suffix for release packages. --- packaging/dotnet-core/prepare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/dotnet-core/prepare.py b/packaging/dotnet-core/prepare.py index 4eb3fa24..038196e5 100644 --- a/packaging/dotnet-core/prepare.py +++ b/packaging/dotnet-core/prepare.py @@ -238,7 +238,7 @@ def main(args): '-v $(abspath recipes):/io/recipes ' + '-v $(abspath $(dir $<)):/io/input ' + '-v $(abspath $(dir $@)):/io/output ' + - '{0} sh -x -e /io/recipes/{1} "{2}"\n'.format('microsoft/dotnet:latest', 'pack', version.suffix)) + '{0} sh -x -e /io/recipes/{1} "{2}"\n'.format('microsoft/dotnet:latest', 'pack', version.suffix if version.suffix is not None else '')) print('prepared', MAKEFILE, 'to make', version.pkgfile) return 0