mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -73,28 +73,34 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
secureFile: 'Snap.Hutao.CI.cer'
|
secureFile: 'Snap.Hutao.CI.cer'
|
||||||
|
|
||||||
- task: GitHubRelease@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: 'github.com_Masterain'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
repositoryName: 'DGP-Automation/Hutao-Auto-Release'
|
ArtifactName: '*'
|
||||||
action: 'create'
|
publishLocation: 'Container'
|
||||||
target: '$(Build.SourceVersion)'
|
|
||||||
tagSource: 'userSpecifiedTag'
|
|
||||||
tag: '$(version)'
|
|
||||||
title: '$(version)'
|
|
||||||
releaseNotesSource: 'inline'
|
|
||||||
releaseNotesInline: |
|
|
||||||
## 普通用户请勿下载
|
|
||||||
该版本是由 CI 程序自动打包生成的 `Alpha` 测试版本,**仅供开发者测试使用**
|
|
||||||
|
|
||||||
普通用户请[点击这里](https://github.com/DGP-Studio/Snap.Hutao/releases/latest/)下载最新的稳定版本
|
#- task: GitHubRelease@1
|
||||||
|
# inputs:
|
||||||
assets: |
|
# gitHubConnection: 'github.com_Masterain'
|
||||||
$(Build.ArtifactStagingDirectory)/*
|
# repositoryName: 'DGP-Automation/Hutao-Auto-Release'
|
||||||
$(cerFile.secureFilePath)
|
# action: 'create'
|
||||||
isPreRelease: true
|
# target: '$(Build.SourceVersion)'
|
||||||
changeLogCompareToRelease: 'lastFullRelease'
|
# tagSource: 'userSpecifiedTag'
|
||||||
changeLogType: 'commitBased'
|
# tag: '$(version)'
|
||||||
|
# title: '$(version)'
|
||||||
|
# releaseNotesSource: 'inline'
|
||||||
|
# releaseNotesInline: |
|
||||||
|
# ## 普通用户请勿下载
|
||||||
|
# 该版本是由 CI 程序自动打包生成的 `Alpha` 测试版本,**仅供开发者测试使用**
|
||||||
|
#
|
||||||
|
# 普通用户请[点击这里](https://github.com/DGP-Studio/Snap.Hutao/releases/latest/)下载最新的稳定版本
|
||||||
|
#
|
||||||
|
# assets: |
|
||||||
|
# $(Build.ArtifactStagingDirectory)/*
|
||||||
|
# $(cerFile.secureFilePath)
|
||||||
|
# isPreRelease: true
|
||||||
|
# changeLogCompareToRelease: 'lastFullRelease'
|
||||||
|
# changeLogType: 'commitBased'
|
||||||
|
|
||||||
|
|
||||||
- task: rclone@1
|
- task: rclone@1
|
||||||
|
|||||||
Reference in New Issue
Block a user