mirror of https://git.suyu.dev/suyu/suyu
ci: Isolate upload merge step into stage 2
parent
1ec23a0353
commit
1817191d55
@ -1,11 +1,13 @@
|
|||||||
steps:
|
steps:
|
||||||
- template: ./release-download.yml
|
- template: ./release-download.yml
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
|
displayName: 'GitHub Release'
|
||||||
inputs:
|
inputs:
|
||||||
action: 'create'
|
action: 'create'
|
||||||
title: 'yuzu $(BuildName) #$(Build.BuildId)'
|
title: '$(ReleasePrefix) $(DisplayVersion)'
|
||||||
assets: '$(Build.ArtifactStagingDirectory)/*'
|
assets: '$(Build.ArtifactStagingDirectory)/*'
|
||||||
gitHubConnection: $(GitHubReleaseConnectionName)
|
gitHubConnection: $(GitHubReleaseConnectionName)
|
||||||
repositoryName: '$(Build.Repository.Name)'
|
repositoryName: '$(Build.Repository.Name)'
|
||||||
target: '$(Build.SourceVersion)'
|
target: '$(Build.SourceVersion)'
|
||||||
tagSource: 'auto'
|
tagSource: manual
|
||||||
|
tag: $(BuildName)-$(DisplayPrefix)-$(DisplayVersion)
|
@ -0,0 +1,9 @@
|
|||||||
|
steps:
|
||||||
|
- script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh
|
||||||
|
displayName: 'Apply Git Configuration'
|
||||||
|
- script: git tag -a $(BuildName)-$(DisplayPrefix)-$(DisplayVersion) -m "yuzu $(BuildName) $(Build.BuildNumber) $(Build.DefinitionName) $(DisplayPrefix)-$(DisplayVersion)"
|
||||||
|
displayName: 'Tag Source'
|
||||||
|
- script: git remote add other $(GitRepoPushChangesURL)
|
||||||
|
displayName: 'Register Repository'
|
||||||
|
- script: git push other $(BuildName)-$(DisplayPrefix)-$(DisplayVersion)
|
||||||
|
displayName: 'Update Code'
|
Loading…
Reference in New Issue