mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
Release Pipeline
[skip ci]
This commit is contained in:
parent
b7713fb8b3
commit
dcec9ea622
28
release-pipeline.yml
Normal file
28
release-pipeline.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
trigger: none
|
||||
|
||||
name: 0.7.$(Rev:r)
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
variables:
|
||||
buildConfiguration: 'Release'
|
||||
|
||||
steps:
|
||||
- task: DotNetCoreCLI@2
|
||||
inputs:
|
||||
command: 'pack'
|
||||
packagesToPack: '**/*.csproj'
|
||||
includesymbols: true
|
||||
versioningScheme: 'byEnvVar'
|
||||
versionEnvVar: 'Build.BuildNumber'
|
||||
buildProperties: 'NoWarn="1573;1591;0419";Version=$(Build.BuildNumber)'
|
||||
|
||||
- task: NuGetCommand@2
|
||||
inputs:
|
||||
command: 'push'
|
||||
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.*upkg'
|
||||
nuGetFeedType: 'external'
|
||||
publishFeedCredentials: 'nuget.org'
|
||||
|
||||
|
||||
Loading…
Reference in a new issue