Skip to content

Commit eb8077c

Browse files
authored
Merge pull request #919 from microsoftgraph/dev
1.8.0 Release
2 parents 857f9b4 + df5c13b commit eb8077c

222 files changed

Lines changed: 85168 additions & 26550 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.azure-pipelines/common-templates/checkout.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ steps:
2121
git config --global user.name "Microsoft Graph DevX Tooling"
2222
2323
- task: Bash@3
24-
displayName: "Switch branch to target branch: $(TargetBranch)"
25-
condition: and(succeeded(), eq('${{ parameters.TargetBranch }}', ''))
24+
displayName: "Switch to target branch: ${{ parameters.TargetBranch }}"
25+
condition: and(succeeded(), ne('${{ parameters.TargetBranch }}', ''))
2626
inputs:
2727
targetType: inline
2828
script: |
2929
git status
3030
git fetch --all
31-
git checkout $(TargetBranch)
31+
git checkout ${{ parameters.TargetBranch }}
3232
git pull
3333
git status
3434

.azure-pipelines/common-templates/download-openapi-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- template: ./checkout.yml
2121
parameters:
22-
TargetBranch: $(BaseBranch)
22+
TargetBranch: ${{ parameters.BaseBranch }}
2323

2424
- template: ./install-tools-template.yml
2525

.azure-pipelines/generation-templates/generate-service-modules.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,13 @@ jobs:
144144
pwsh: true
145145
script: |
146146
[bool]$EnableSigning = if ("$(EnableSigning)" -eq "true") { $true } else { $false }
147-
$Modules = "$(ModulesToGenerate)" -split " "
148-
. $(System.DefaultWorkingDirectory)/tools/GenerateModules.ps1 -Build -Test -UpdateAutoRest -EnableSigning:$EnableSigning -ModulesToGenerate $Modules -ExcludeExampleTemplates -ExcludeNotesSection
147+
if ("${{ parameters.GenerateCommandMetadata }}" -eq "false") {
148+
$ModulesToGenerate = "${{ parameters.ModulesToGenerate }}"
149+
$Modules = $ModulesToGenerate.Split(" ", [System.StringSplitOptions]::RemoveEmptyEntries)
150+
. $(System.DefaultWorkingDirectory)/tools/GenerateModules.ps1 -Build -Test -UpdateAutoRest -EnableSigning:$EnableSigning -ModulesToGenerate $Modules -ExcludeExampleTemplates -ExcludeNotesSection
151+
} else {
152+
. $(System.DefaultWorkingDirectory)/tools/GenerateModules.ps1 -Build -Test -UpdateAutoRest -EnableSigning:$EnableSigning -ExcludeExampleTemplates -ExcludeNotesSection
153+
}
149154
150155
- ${{ if eq(parameters.GenerateCommandMetadata, true) }}:
151156
- template: ./generate-command-metadata-template.yml

.azure-pipelines/weekly-generation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
54
name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
65

76
parameters:
@@ -37,10 +36,12 @@ stages:
3736

3837
- stage: GenerateServiceModules
3938
displayName: Generate service modules
39+
condition: succeeded()
4040
jobs:
4141
- template: generation-templates/generate-service-modules.yml
4242
parameters:
4343
Branch: $[ stageDependencies.DownloadOpenAPIDocs.GetLatestDocs.outputs['ComputeBranch.WeeklyBranch'] ]
44+
ModulesToGenerate: $[ stageDependencies.DownloadOpenAPIDocs.GetLatestDocs.outputs['OpenAPIDocDiff.ModulesWithChanges'] ]
4445
AuthModulePath: "src/Authentication/Authentication"
4546
ServiceModulePath: "src/"
4647
ModulePrefix: "Microsoft.Graph"

config/ModuleMetadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
],
2323
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
2424
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
25-
"version": "1.7.0"
25+
"version": "1.8.0"
2626
}

config/ModulesMapping.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@
3636
"Users.Actions": "^users.Actions$",
3737
"Users.Functions": "^users.Functions$",
3838
"WindowsUpdates": "^admin.windows$|^admin.Actions$|^admin.Functions$"
39-
// "WorkBooks": "^workbooks\\.",// Max limit.
4039
}

0 commit comments

Comments
 (0)