Skip to content

Commit

Permalink
feat: remove manual version bump, rely on release please for go (#1236)
Browse files Browse the repository at this point in the history
* feat: remove manual version bump, rely on release please for go

* feat: add commit message template
  • Loading branch information
rkodev authored May 27, 2024
1 parent 9a5a50f commit e9582aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines/generation-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ stages:
targetClassName: "GraphBaseServiceClient"
targetNamespace: "github.com/microsoftgraph/msgraph-sdk-go/"
customArguments: "-b -e '/me' -e '/me/**'" # Exclude me and Enable the backing store
commitMessagePrefix: "feat(generation): update request builders and models"
cleanMetadataFolder: $(cleanOpenAPIFolderV1)
languageSpecificSteps:
- template: generation-templates/go.yml
Expand Down Expand Up @@ -370,6 +371,7 @@ stages:
targetClassName: "GraphBaseServiceClient"
targetNamespace: "github.com/microsoftgraph/msgraph-beta-sdk-go/"
customArguments: "-b -e '/me' -e '/me/**'" # Exclude me and Enable the backing store
commitMessagePrefix: "feat(generation): update request builders and models"
cleanMetadataFolder: $(cleanOpenAPIFolderBeta)
languageSpecificSteps:
- template: generation-templates/go.yml
Expand Down
4 changes: 0 additions & 4 deletions .azure-pipelines/generation-templates/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ steps:
env:
MainDirectory: $(Build.SourcesDirectory)/${{ parameters.repoName }}/

- pwsh : $(Build.SourcesDirectory)/${{ parameters.repoName }}/scripts/incrementMinorVersion.ps1
displayName: 'Increment minor version number'
workingDirectory: '$(Build.SourcesDirectory)/${{ parameters.repoName }}/scripts'

- pwsh: '$(scriptsDirectory)/copy-go-models.ps1'
displayName: 'Update models'
env:
Expand Down

0 comments on commit e9582aa

Please sign in to comment.