Skip to content

Commit 0af7120

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent b11c62d commit 0af7120

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ steps:
102102
repositoryName: '$(Build.Repository.Name)'
103103
action: 'create'
104104
target: '$(Build.SourceVersion)'
105-
tagSource: 'auto'
106-
title: 'v$(Build.BuildNumber)'
105+
tagSource: 'manual'
106+
tag: '$(Build.BuildNumber)'
107+
title: '$(Build.BuildNumber)'
107108

108109
- task: GitHubRelease@0
109110
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/develop'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')))
@@ -112,6 +113,7 @@ steps:
112113
repositoryName: '$(Build.Repository.Name)'
113114
action: 'create'
114115
target: '$(Build.SourceVersion)'
115-
tagSource: 'auto'
116-
title: 'v$(Build.BuildNumber)'
116+
tagSource: 'manual'
117+
tag: '$(Build.BuildNumber)'
118+
title: '$(Build.BuildNumber)'
117119
isPreRelease: true

0 commit comments

Comments
 (0)