Skip to content

Commit b549e4c

Browse files
authored
Merge pull request #1237 from microsoftgraph/chore/remove-php-bump-version-script-call
Remove script to bump version + Change commit messages for generation PRs(PHP)
2 parents e9582aa + 87123a6 commit b549e4c

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.azure-pipelines/generation-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ stages:
521521
targetClassName: "BaseGraphClient"
522522
targetNamespace: 'Microsoft\\Graph\\Beta\\Generated'
523523
baseBranchName: 'main'
524+
commitMessagePrefix: "feat(generation): update request builders and models"
524525
cleanMetadataFolder: $(cleanOpenAPIFolderBeta)
525526
languageSpecificSteps:
526527
- template: generation-templates/php-kiota.yml
@@ -550,6 +551,7 @@ stages:
550551
targetClassName: "BaseGraphClient"
551552
targetNamespace: 'Microsoft\\Graph\\Generated'
552553
baseBranchName: 'main'
554+
commitMessagePrefix: "feat(generation): update request builders and models"
553555
cleanMetadataFolder: $(cleanOpenAPIFolderV1)
554556
languageSpecificSteps:
555557
- template: generation-templates/php-kiota.yml

.azure-pipelines/generation-templates/php-kiota.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,3 @@ steps:
99
BuildConfiguration: $(buildConfiguration)
1010
OutputFullPath: $(kiotaDirectory)/output/*
1111
RepoModelsDir: $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/Generated/
12-
13-
# right now the script runs fine with PHP 8.1 which is what is installed by default on the agent
14-
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
15-
# but we should use a setup task to install the right version of PHP
16-
# however, there does not seem to exist a setup-php task (equivalent to UseDotnet)
17-
18-
- pwsh: 'php $(Build.SourcesDirectory)/${{ parameters.repoName }}/scripts/BumpStableSdkVersion.php'
19-
displayName: Bump minor version for ${{ parameters.repoName }}
20-
workingDirectory: $(Build.SourcesDirectory)/${{ parameters.repoName }}/

0 commit comments

Comments
 (0)