Merge pull request #2591 from dotnet/brthor/deb-version-quick
Fixes #2589
This commit is contained in:
commit
e8eaebdaeb
1 changed files with 2 additions and 1 deletions
|
@ -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("}");
|
||||
|
|
Loading…
Add table
Reference in a new issue