diff --git a/Client.cs b/Client.cs index 3229548..dcb15a6 100644 --- a/Client.cs +++ b/Client.cs @@ -10,13 +10,11 @@ using System.Net.Sockets; using System.Reflection; using System.Security.Cryptography; using System.Text; -using System.Threading; using System.Threading.Tasks; using TL; using static WTelegram.Encryption; //TODO: include XML comments in nuget -//TODO: make assembly versions match nuget package version namespace WTelegram { diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 73ded44..f1a87f7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,6 +10,18 @@ variables: buildConfiguration: 'Release' steps: +- task: Assembly-Info-NetCore@2 + inputs: + Path: '$(Build.SourcesDirectory)' + FileNames: '**/*.csproj' + InsertAttributes: true + FileEncoding: 'auto' + WriteBOM: false + PackageVersion: '$(Build.BuildNumber)' + LogLevel: 'verbose' + FailOnWarning: false + DisableTelemetry: true + - task: DotNetCoreCLI@2 inputs: command: 'pack'