Skip to content

Commit 90d39fa

Browse files
authored
Merge pull request #2622 from microsoftgraph/dev
Merge dev to master
2 parents 9a12577 + 551596e commit 90d39fa

File tree

9 files changed

+18
-20
lines changed

9 files changed

+18
-20
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
44
trigger:
55
branches:
66
include:
7-
- master
7+
- main
88
pr: none
99
variables:
1010
BuildConfiguration: 'release'
@@ -99,7 +99,7 @@ extends:
9999
arguments: '--configuration $(BuildConfiguration) --verbosity normal --no-build'
100100
- task: PowerShell@2
101101
displayName: 'Validate updated version'
102-
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
102+
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded())
103103
inputs:
104104
targetType: filePath
105105
filePath: '$(Build.SourcesDirectory)\scripts\ValidateUpdatedNugetVersion.ps1'
@@ -239,7 +239,7 @@ extends:
239239
TargetFolder: '$(Build.ArtifactStagingDirectory) '
240240

241241
- stage: deploy
242-
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
242+
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded())
243243
dependsOn: build
244244
jobs:
245245
- deployment: deploy_nuget
@@ -268,7 +268,7 @@ extends:
268268
inputs:
269269
targetType: filePath
270270
filePath: '$(Pipeline.Workspace)\scripts\GetLatestCommitSHA.ps1'
271-
arguments: '-repo "msgraph-sdk-dotnet" -owner "microsoftgraph" -branchName "master"'
271+
arguments: '-repo "msgraph-sdk-dotnet" -owner "microsoftgraph" -branchName "main"'
272272
pwsh: true
273273
- task: PowerShell@2
274274
displayName: 'Extract release information to pipeline'

.github/policies/msgraph-sdk-dotnet-branch-protection.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ resource: repository
99
configuration:
1010
branchProtectionRules:
1111

12-
- branchNamePattern: master
12+
- branchNamePattern: main
1313
# This branch pattern applies to the following branches as of 06/12/2023 10:31:13:
14-
# master
14+
# main
1515

1616
# Specifies whether this branch can be deleted. boolean
1717
allowsDeletions: false

.github/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
manifest: true
2-
primaryBranch: master
2+
primaryBranch: main
33
handleGHRelease: true

.github/workflows/validatePullRequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Validate Pull Request
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [ 'feature/*', 'dev' ,'master' ]
6+
branches: [ 'feature/*', 'main' ]
77
pull_request:
8-
branches: [ 'feature/*', 'dev' ,'master' ]
8+
branches: [ 'feature/*', 'main' ]
99

1010
permissions:
1111
contents: read #those permissions are required to run the codeql analysis

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ There are a few different recommended paths to get contributions into the releas
99
The best way to get started with a contribution is to start a dialog with us. Sometimes features will be under development or out of scope for this library, and it's best to check before starting work on contribution, especially for large work items.
1010

1111
## Pull requests
12-
All pull requests should be submitted against the **master** branch or a specific feature branch. The master branch is intended to represent the code released in the most-recent Nuget package.
12+
All pull requests should be submitted against the **main** branch or a specific feature branch. The main branch is intended to represent the code released in the most-recent Nuget package.
1313

1414
## Commit message format
1515

@@ -42,7 +42,7 @@ The recommended commit types used are:
4242

4343
Adding a footer with the prefix **BREAKING CHANGE:** will cause an increment of the _major_ version.
4444

45-
When a new package is about to be release, the release PR will be merged into master. The package will be generated from master.
45+
When a new package is about to be release, the release PR will be merged into main. The package will be generated from main.
4646

4747
Some things to note about this project:
4848

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ If you are looking to build the library locally for the purposes of contributing
144144
145145
## License
146146

147-
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT [license](LICENSE.txt). See [Third Party Notices](https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/master/THIRD%20PARTY%20NOTICES) for information on the packages referenced via NuGet.
147+
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT [license](LICENSE.txt). See [Third Party Notices](https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/THIRD%20PARTY%20NOTICES) for information on the packages referenced via NuGet.

docs/contributions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ The best way to get started with a contribution is to start a dialog with the ow
1111

1212
## Pull requests
1313

14-
If you are making documentation changes, feel free to submit a pull request against the **master** branch. All other pull requests should be submitted against the **dev** branch or a specific **feature** branch. The **master** branch is intended to represent the code released in the most-recent Nuget package.
15-
16-
When a new package is about to be released, changes in **dev** will be merged into **master**. The package will be generated from **master**.
14+
If you are making documentation changes, feel free to submit a pull request against the **main** or a specific **feature** branch. The **main** branch is intended to represent the code released in the most-recent Nuget package.
1715

1816
## Submit pull requests for trivial changes
1917

20-
If you are making a change that does not affect the interface components and does not affect other downstream callers, feel free to make a pull request against the **dev** branch.
18+
If you are making a change that does not affect the interface components and does not affect other downstream callers, feel free to make a pull request against the **main** branch.
2119

2220
Revisions of this nature will result in a 0.0.X change of the version number.
2321

2422
## Submit pull requests for features
2523

26-
If major functionality is being added it should be submitted against the **dev** branch. If the functionality will require multiple changes or iterations before it is ready for **dev**, feel free to submit pull requests into a dedicated **feature** branch until the whole change is ready.
24+
If major functionality is being added it should be submitted against the **main** branch. If the functionality will require multiple changes or iterations before it is ready for **main**, feel free to submit pull requests into a dedicated **feature** branch until the whole change is ready.
2725

2826
Revisions of this nature will result in a 0.X.X change of the version number.

scripts/GetLatestCommitSHA.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Param(
2020
[string]$owner,
2121
[string]$repo,
22-
[string]$branchName = "master"
22+
[string]$branchName = "main"
2323
)
2424

2525
if ([string]::IsNullOrEmpty($owner)) {

src/Microsoft.Graph/Microsoft.Graph.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- VersionPrefix minor version must be manually set when making manual changes to code. -->
3030
<!-- VersionPrefix major and patch versions must be manually set. -->
3131
<PackageReleaseNotes>
32-
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/CHANGELOG.md
32+
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md
3333
</PackageReleaseNotes>
3434
<PublishRepositoryUrl>true</PublishRepositoryUrl>
3535
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -90,4 +90,4 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/CHANGELOG.md
9090
</PackagePath>
9191
</None>
9292
</ItemGroup>
93-
</Project>
93+
</Project>

0 commit comments

Comments
 (0)