Skip to content

Commit a714eec

Browse files
committed
Updates version in templates
1 parent 2a60167 commit a714eec

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
}
2525
},
2626
{
27-
"id": "4.0.*-*",
27+
"id": "4.0.*-main-*",
2828
"name": {
2929
"text": "Steeltoe 4.0"
3030
}
3131
}
3232
],
33-
"defaultValue": "4.0.*-*"
33+
"defaultValue": "4.0.*-main-*"
3434
},
3535
{
3636
"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
@@ -109,7 +109,7 @@
109109
"description": "The Steeltoe version to use.",
110110
"type": "parameter",
111111
"datatype": "string",
112-
"defaultValue": "4.0.*-*",
112+
"defaultValue": "4.0.*-main-*",
113113
"replaces": "$(SteeltoeVersionInCLI)"
114114
},
115115
"IsSteeltoeV3InCLI": {
@@ -138,7 +138,7 @@
138138
"choice": "3.2.*"
139139
},
140140
{
141-
"choice": "4.0.*-*"
141+
"choice": "4.0.*-main-*"
142142
}
143143
],
144144
"replaces": "$(ChosenSteeltoeVersionInIDE)"

test/NetCoreTool.Template.WebApi.Test/Models/TemplateOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public IEnumerator<object[]> GetEnumerator()
1414
new object[] { "3.2.8", "net6.0", "C#", },
1515
new object[] { "3.2.8", "net8.0", "C#", },
1616
new object[] { "3.2.8", "net9.0", "C#", },
17-
new object[] { "4.0.*-*", "net8.0", "C#", },
18-
new object[] { "4.0.*-*", "net9.0", "C#", }
17+
new object[] { "4.0.*-main-*", "net8.0", "C#", },
18+
new object[] { "4.0.*-main-*", "net9.0", "C#", }
1919
}.GetEnumerator();
2020
}
2121

test/NetCoreTool.Template.WebApi.Test/SteeltoeParameterTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class SteeltoeParameterTest : ParameterTest
77
public SteeltoeParameterTest(ITestOutputHelper logger) : base("steeltoe", "The Steeltoe version to use.", logger)
88
{
99
Values.Add("3.2.*");
10-
Values.Add("4.0.*-*");
10+
Values.Add("4.0.*-main-*");
1111
}
1212
}
1313
}

0 commit comments

Comments
 (0)