From 02e5e0ed6340d829d3cbc7ffae700e87ecb6f114 Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 19 Apr 2016 15:43:26 -0700 Subject: [PATCH] Fixes #2589 --- scripts/dotnet-cli-build/Publishing/DebRepoPublisher.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dotnet-cli-build/Publishing/DebRepoPublisher.cs b/scripts/dotnet-cli-build/Publishing/DebRepoPublisher.cs index 722915dd3..b5203609f 100644 --- a/scripts/dotnet-cli-build/Publishing/DebRepoPublisher.cs +++ b/scripts/dotnet-cli-build/Publishing/DebRepoPublisher.cs @@ -12,6 +12,7 @@ namespace Microsoft.DotNet.Cli.Build { public class DebRepoPublisher { + private const string _debianRevisionNumber = "1"; private string _repoID; private string _uploadJsonDirectory; @@ -41,7 +42,7 @@ namespace Microsoft.DotNet.Cli.Build { sw.WriteLine("{"); sw.WriteLine($" \"name\":\"{packageName}\","); - sw.WriteLine($" \"version\":\"{packageVersion}\","); + sw.WriteLine($" \"version\":\"{packageVersion}-{_debianRevisionNumber}\","); sw.WriteLine($" \"repositoryId\":\"{_repoID}\","); sw.WriteLine($" \"sourceUrl\":\"{uploadUrl}\""); sw.WriteLine("}");