зеркало из https://github.com/aspnet/Security.git
[automated] Change default branch to master
This commit is contained in:
Родитель
beaa2b443d
Коммит
238f461488
|
@ -2,7 +2,7 @@ init:
|
||||||
- git config --global core.autocrlf true
|
- git config --global core.autocrlf true
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- dev
|
- master
|
||||||
- /^release\/.*$/
|
- /^release\/.*$/
|
||||||
- /^(.*\/)?ci-.*$/
|
- /^(.*\/)?ci-.*$/
|
||||||
build_script:
|
build_script:
|
||||||
|
|
|
@ -16,7 +16,7 @@ addons:
|
||||||
- libunwind8
|
- libunwind8
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- dev
|
- master
|
||||||
- /^release\/.*$/
|
- /^release\/.*$/
|
||||||
- /^(.*\/)?ci-.*$/
|
- /^(.*\/)?ci-.*$/
|
||||||
before_install:
|
before_install:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
trigger:
|
trigger:
|
||||||
- dev
|
- master
|
||||||
- release/*
|
- release/*
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
@ -7,7 +7,7 @@ resources:
|
||||||
- repository: buildtools
|
- repository: buildtools
|
||||||
type: git
|
type: git
|
||||||
name: aspnet-BuildTools
|
name: aspnet-BuildTools
|
||||||
ref: refs/heads/dev
|
ref: refs/heads/master
|
||||||
|
|
||||||
phases:
|
phases:
|
||||||
- template: .vsts-pipelines/templates/project-ci.yml@buildtools
|
- template: .vsts-pipelines/templates/project-ci.yml@buildtools
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
trigger:
|
trigger:
|
||||||
- dev
|
- master
|
||||||
- release/*
|
- release/*
|
||||||
|
|
||||||
# See https://github.com/aspnet/BuildTools
|
# See https://github.com/aspnet/BuildTools
|
||||||
|
@ -9,7 +9,7 @@ resources:
|
||||||
type: github
|
type: github
|
||||||
endpoint: DotNet-Bot GitHub Connection
|
endpoint: DotNet-Bot GitHub Connection
|
||||||
name: aspnet/BuildTools
|
name: aspnet/BuildTools
|
||||||
ref: refs/heads/dev
|
ref: refs/heads/master
|
||||||
|
|
||||||
phases:
|
phases:
|
||||||
- template: .vsts-pipelines/templates/project-ci.yml@buildtools
|
- template: .vsts-pipelines/templates/project-ci.yml@buildtools
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json",
|
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/master/tools/korebuild.schema.json",
|
||||||
"channel": "dev"
|
"channel": "master"
|
||||||
}
|
}
|
||||||
|
|
6
run.ps1
6
run.ps1
|
@ -52,8 +52,8 @@ in the file are overridden by command line parameters.
|
||||||
Example config file:
|
Example config file:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json",
|
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/master/tools/korebuild.schema.json",
|
||||||
"channel": "dev",
|
"channel": "master",
|
||||||
"toolsSource": "https://aspnetcore.blob.core.windows.net/buildtools"
|
"toolsSource": "https://aspnetcore.blob.core.windows.net/buildtools"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -192,7 +192,7 @@ if (!$DotNetHome) {
|
||||||
else { Join-Path $PSScriptRoot '.dotnet'}
|
else { Join-Path $PSScriptRoot '.dotnet'}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$Channel) { $Channel = 'dev' }
|
if (!$Channel) { $Channel = 'master' }
|
||||||
if (!$ToolsSource) { $ToolsSource = 'https://aspnetcore.blob.core.windows.net/buildtools' }
|
if (!$ToolsSource) { $ToolsSource = 'https://aspnetcore.blob.core.windows.net/buildtools' }
|
||||||
|
|
||||||
# Execute
|
# Execute
|
||||||
|
|
2
run.sh
2
run.sh
|
@ -248,7 +248,7 @@ if [ -f "$config_file" ]; then
|
||||||
[ ! -z "${config_tools_source:-}" ] && tools_source="$config_tools_source"
|
[ ! -z "${config_tools_source:-}" ] && tools_source="$config_tools_source"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "$channel" ] && channel='dev'
|
[ -z "$channel" ] && channel='master'
|
||||||
[ -z "$tools_source" ] && tools_source='https://aspnetcore.blob.core.windows.net/buildtools'
|
[ -z "$tools_source" ] && tools_source='https://aspnetcore.blob.core.windows.net/buildtools'
|
||||||
|
|
||||||
get_korebuild
|
get_korebuild
|
||||||
|
|
Загрузка…
Ссылка в новой задаче