mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
release.yml: deploy & notify in stages
This commit is contained in:
parent
b697d4b5ea
commit
67fb06f357
|
|
@ -9,7 +9,9 @@ pool:
|
||||||
variables:
|
variables:
|
||||||
buildConfiguration: 'Release'
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
jobs:
|
stages:
|
||||||
|
- stage: publish
|
||||||
|
jobs:
|
||||||
- job: publish
|
- job: publish
|
||||||
steps:
|
steps:
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
|
|
@ -28,6 +30,8 @@ jobs:
|
||||||
nuGetFeedType: 'external'
|
nuGetFeedType: 'external'
|
||||||
publishFeedCredentials: 'nuget.org'
|
publishFeedCredentials: 'nuget.org'
|
||||||
|
|
||||||
|
- stage: notify
|
||||||
|
jobs:
|
||||||
- job: notify
|
- job: notify
|
||||||
pool:
|
pool:
|
||||||
server
|
server
|
||||||
|
|
@ -39,7 +43,7 @@ jobs:
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
status": "success",
|
"status": "success",
|
||||||
"complete": true,
|
"complete": true,
|
||||||
"message": "{
|
"message": "{
|
||||||
\"commitId\": \"$(Build.SourceVersion)\",
|
\"commitId\": \"$(Build.SourceVersion)\",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue