mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
Make Package version same as Build number
This commit is contained in:
parent
710016c388
commit
61077c380c
|
|
@ -10,13 +10,11 @@ using System.Net.Sockets;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TL;
|
using TL;
|
||||||
using static WTelegram.Encryption;
|
using static WTelegram.Encryption;
|
||||||
|
|
||||||
//TODO: include XML comments in nuget
|
//TODO: include XML comments in nuget
|
||||||
//TODO: make assembly versions match nuget package version
|
|
||||||
|
|
||||||
namespace WTelegram
|
namespace WTelegram
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,18 @@ variables:
|
||||||
buildConfiguration: 'Release'
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
steps:
|
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
|
- task: DotNetCoreCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
command: 'pack'
|
command: 'pack'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue