Skip to content

Commit e9582aa

Browse files
authored
feat: remove manual version bump, rely on release please for go (#1236)
* feat: remove manual version bump, rely on release please for go * feat: add commit message template
1 parent 9a5a50f commit e9582aa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.azure-pipelines/generation-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ stages:
342342
targetClassName: "GraphBaseServiceClient"
343343
targetNamespace: "github.com/microsoftgraph/msgraph-sdk-go/"
344344
customArguments: "-b -e '/me' -e '/me/**'" # Exclude me and Enable the backing store
345+
commitMessagePrefix: "feat(generation): update request builders and models"
345346
cleanMetadataFolder: $(cleanOpenAPIFolderV1)
346347
languageSpecificSteps:
347348
- template: generation-templates/go.yml
@@ -370,6 +371,7 @@ stages:
370371
targetClassName: "GraphBaseServiceClient"
371372
targetNamespace: "github.com/microsoftgraph/msgraph-beta-sdk-go/"
372373
customArguments: "-b -e '/me' -e '/me/**'" # Exclude me and Enable the backing store
374+
commitMessagePrefix: "feat(generation): update request builders and models"
373375
cleanMetadataFolder: $(cleanOpenAPIFolderBeta)
374376
languageSpecificSteps:
375377
- template: generation-templates/go.yml

.azure-pipelines/generation-templates/go.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ steps:
88
env:
99
MainDirectory: $(Build.SourcesDirectory)/${{ parameters.repoName }}/
1010

11-
- pwsh : $(Build.SourcesDirectory)/${{ parameters.repoName }}/scripts/incrementMinorVersion.ps1
12-
displayName: 'Increment minor version number'
13-
workingDirectory: '$(Build.SourcesDirectory)/${{ parameters.repoName }}/scripts'
14-
1511
- pwsh: '$(scriptsDirectory)/copy-go-models.ps1'
1612
displayName: 'Update models'
1713
env:

0 commit comments

Comments
 (0)