Skip to content

Commit 8231e9e

Browse files
committed
Update pipeline files to support default branch main
1 parent 915b06e commit 8231e9e

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

GitVersion.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assembly-informational-format: '{NuGetVersionV2}+Sha.{Sha}.Date.{CommitDate}'
88
branches:
99
master:
1010
tag: preview
11-
regex: ^master$
11+
regex: ^main$
1212
pull-request:
1313
tag: PR
1414
feature:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This project has adopted this [Code of Conduct](CODE_OF_CONDUCT.md).
1616

1717
## Releases
1818

19-
For each merge to the branch `master` a preview release will be
19+
For each merge to the branch `main` a preview release will be
2020
deployed to [PowerShell Gallery](https://www.powershellgallery.com/).
2121
Periodically a release version tag will be pushed which will deploy a
2222
full release to [PowerShell Gallery](https://www.powershellgallery.com/).

azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
trigger:
22
branches:
33
include:
4-
- master
4+
- main
55
paths:
66
include:
77
- source/*
@@ -17,7 +17,7 @@ variables:
1717
testResultFolderName: testResults
1818
testArtifactName: testResults
1919
sourceFolderName: source
20-
defaultBranch: master
20+
defaultBranch: main
2121

2222
stages:
2323
- stage: Build
@@ -185,7 +185,7 @@ stages:
185185
and(
186186
succeeded(),
187187
or(
188-
eq(variables['Build.SourceBranch'], 'refs/heads/master'),
188+
eq(variables['Build.SourceBranch'], 'refs/heads/main'),
189189
startsWith(variables['Build.SourceBranch'], 'refs/tags/')
190190
),
191191
contains(variables['System.TeamFoundationCollectionUri'], 'dsccommunity')

build.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ DscTest:
6262
ExcludeSourceFile:
6363
- output
6464
ExcludeModuleFile:
65+
MainGitBranch: main
6566

6667
ModuleBuildTasks:
6768
Sampler:

codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
codecov:
22
require_ci_to_pass: no
3-
branch: master
3+
branch: main
44

55
comment:
66
layout: "reach, diff, flags, files"

source/xCredSSP.psd1

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
Tags = @('DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource')
4949

5050
# A URL to the license for this module.
51-
LicenseUri = 'https://github.com/dsccommunity/SqlServerDsc/blob/main/LICENSE'
51+
LicenseUri = 'https://github.com/dsccommunity/xCredSSP/blob/main/LICENSE'
5252

5353
# A URL to the main website for this project.
54-
ProjectUri = 'https://github.com/dsccommunity/SqlServerDsc'
54+
ProjectUri = 'https://github.com/dsccommunity/xCredSSP'
5555

5656
# A URL to an icon representing this module.
5757
IconUri = 'https://dsccommunity.org/images/DSC_Logo_300p.png'

0 commit comments

Comments
 (0)