From e9582aa7cf9be0f6e62715b0530a6a47f712cf14 Mon Sep 17 00:00:00 2001 From: Ronald K <43806892+rkodev@users.noreply.github.com> Date: Mon, 27 May 2024 13:07:01 +0300 Subject: [PATCH] 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 --- .azure-pipelines/generation-pipeline.yml | 2 ++ .azure-pipelines/generation-templates/go.yml | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/generation-pipeline.yml b/.azure-pipelines/generation-pipeline.yml index b52650cd2..5136cfa24 100644 --- a/.azure-pipelines/generation-pipeline.yml +++ b/.azure-pipelines/generation-pipeline.yml @@ -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 @@ -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 diff --git a/.azure-pipelines/generation-templates/go.yml b/.azure-pipelines/generation-templates/go.yml index 4fa9b79aa..8aeadc9f7 100644 --- a/.azure-pipelines/generation-templates/go.yml +++ b/.azure-pipelines/generation-templates/go.yml @@ -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: