[.NET NUGET] DON'T SET SUFFIX FOR RELEASES (#548)

Previously "-None" was set as version suffix for release packages.
This commit is contained in:
Henrik Gaßmann 2017-05-19 22:00:13 +02:00 committed by Frank Denis
parent e8795ff105
commit 70bffa111a

View File

@ -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