Skip to content

Commit 3bf5283

Browse files
committed
- adds step to automatically increment version number with code gen PRs
1 parent ea3e58c commit 3bf5283

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.azure-pipelines/generate-v1.0-models.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ steps:
107107
workingDirectory: '$(Build.SourcesDirectory)' # Set the root for a multi-repo pipeline. /s
108108
enabled: true
109109

110+
- task: PowerShell@2
111+
displayName: 'Increment minor version number'
112+
inputs:
113+
targetType: filePath
114+
filePath: '$(Build.SourcesDirectory)/msgraph-sdk-java/Scripts/incrementMinorVersion.ps1'
115+
workingDirectory: '$(Build.SourcesDirectory)/msgraph-sdk-java/Scripts'
116+
enabled: true
117+
110118
- task: PowerShell@2
111119
displayName: 'Copy generated requests and models into the repo'
112120
inputs:

0 commit comments

Comments
 (0)