Skip to content

Commit 612911a

Browse files
authored
Update for Steeltoe 4.0 (#119)
* Update for Steeltoe 4.0 * rename feed * Delete root nuget.config * Diagnostic package restore * Revert "Diagnostic package restore" This reverts commit 4035829.
1 parent a66e29f commit 612911a

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ dotnet new install Steeltoe.NetCoreTool.Templates
2424
### From .NET Foundation (staging)
2525

2626
```
27-
$ dotnet nuget add source https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json -n SteeltoeDev
27+
$ dotnet nuget add source https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json -n Steeltoe-ci
2828
$ dotnet new install Steeltoe.NetCoreTool.Templates
2929
```
3030

nuget.config

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/Content/NetCoreTool.Template.WebApi/CSharp/.template.config/ide.host.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
}
2525
},
2626
{
27-
"id": "4.0.*-*",
27+
"id": "4.0.*",
2828
"name": {
29-
"text": "Steeltoe 4.0 (pre-release)"
29+
"text": "Steeltoe 4.0"
3030
}
3131
},
3232
{
@@ -36,7 +36,7 @@
3636
}
3737
}
3838
],
39-
"defaultValue": "4.0.*-*"
39+
"defaultValue": "4.0.*"
4040
},
4141
{
4242
"id": "DescriptionOption",

src/Content/NetCoreTool.Template.WebApi/CSharp/.template.config/template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"description": "The Steeltoe version to use.",
116116
"type": "parameter",
117117
"datatype": "string",
118-
"defaultValue": "4.0.*-*",
118+
"defaultValue": "4.0.*",
119119
"replaces": "$(SteeltoeVersionInCLI)"
120120
},
121121
"IsSteeltoeV3InCLI": {
@@ -153,7 +153,7 @@
153153
"choice": "3.2.*"
154154
},
155155
{
156-
"choice": "4.0.*-*"
156+
"choice": "4.0.*"
157157
},
158158
{
159159
"choice": "4.*-main-*"
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="SteeltoeDev" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
5-
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
4+
<clear />
5+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
6+
<add key="Steeltoe-ci" value="https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json" />
67
</packageSources>
8+
<packageSourceMapping>
9+
<packageSource key="nuget.org">
10+
<package pattern="*" />
11+
</packageSource>
12+
<packageSource key="Steeltoe-ci">
13+
<package pattern="Steeltoe.*" />
14+
</packageSource>
15+
</packageSourceMapping>
716
</configuration>

0 commit comments

Comments
 (0)