зеркало из https://github.com/aspnet/KoreBuild.git
Add support for rel-1.0.0 channel
This commit is contained in:
Родитель
a9a87ef2c9
Коммит
adc7d33cd4
|
@ -149,6 +149,7 @@ function Get-Azure-Channel-From-Channel([string]$Channel) {
|
|||
{ ($_ -eq "future") -or ($_ -eq "dev") } { return "dev" }
|
||||
{ ($_ -eq "beta") } { return "beta" }
|
||||
{ ($_ -eq "preview") } { return "preview" }
|
||||
{ ($_ -eq "rel-1.0.0") } { return "rel-1.0.0" }
|
||||
{ $_ -eq "production" } { throw "Production channel does not exist yet" }
|
||||
default { throw "``$Channel`` is an invalid channel name. Use one of the following: ``future``, ``preview``, ``production``" }
|
||||
}
|
||||
|
|
|
@ -300,6 +300,10 @@ get_azure_channel_from_channel() {
|
|||
echo "preview"
|
||||
return 0
|
||||
;;
|
||||
rel-1.0.0)
|
||||
echo "rel-1.0.0"
|
||||
return 0
|
||||
;;
|
||||
production)
|
||||
say_err "Production channel does not exist yet"
|
||||
return 1
|
||||
|
|
Загрузка…
Ссылка в новой задаче