Skip to content

Commit

Permalink
fix: .net 8 in template.json
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rmanj committed Nov 17, 2023
1 parent de38991 commit 34541b4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dotnet/Intility.Templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>1.7.1</PackageVersion>
<PackageVersion>1.7.2</PackageVersion>
<PackageId>Intility.Templates</PackageId>
<Title>Intility Templates</Title>
<Authors>Intility</Authors>
Expand Down
8 changes: 4 additions & 4 deletions dotnet/iwebapi/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"datatype": "choice",
"choices": [
{
"choice": "net7.0",
"description": "Target .NET 7"
"choice": "net8.0",
"description": "Target .NET 8"
}
],
"replaces": "net7.0",
"defaultValue": "net7.0"
"replaces": "net8.0",
"defaultValue": "net8.0"
},
"HostIdentifier": {
"type": "bind",
Expand Down
2 changes: 1 addition & 1 deletion dotnet/iworker/.template.config/dotnetcli.host.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
}
},
"usageExamples": [""]
}
}
20 changes: 10 additions & 10 deletions dotnet/iworker/.template.config/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Intility",
"classifications": [ "Intility", "Worker", "Web" ],
"classifications": ["Intility", "Worker", "Web"],
"name": "Intility Worker",
"description": "A solution template for creating Intility Worker Services.",
"identity": "Intility.Templates.WorkerSolution.CSharp",
Expand All @@ -22,7 +22,7 @@
"modifiers": [
{
"condition": "(windir == 'C:\\Windows')",
"exclude": [ "Company.Worker1/Properties/launchSettings.json" ]
"exclude": ["Company.Worker1/Properties/launchSettings.json"]
},
{
"condition": "(HostIdentifier != 'dotnetcli' && !projectOnly)",
Expand All @@ -32,18 +32,18 @@
},
{
"condition": "(projectOnly)",
"exclude": [ "Company.Worker1.sln", ".gitignore" ],
"exclude": ["Company.Worker1.sln", ".gitignore"],
"rename": {
"Company.Worker1/": "./"
}
},
{
"condition": "(cronJob)",
"exclude": [ "Company.Worker1/chart/templates/deployment.yaml" ]
"exclude": ["Company.Worker1/chart/templates/deployment.yaml"]
},
{
"condition": "(!cronJob)",
"exclude": [ "Company.Worker1/chart/templates/cronjob.yaml" ]
"exclude": ["Company.Worker1/chart/templates/cronjob.yaml"]
}
]
}
Expand All @@ -55,12 +55,12 @@
"datatype": "choice",
"choices": [
{
"choice": "net7.0",
"description": "Target .NET 7"
"choice": "net8.0",
"description": "Target .NET 8"
}
],
"replaces": "net7.0",
"defaultValue": "net7.0"
"replaces": "net8.0",
"defaultValue": "net8.0"
},
"skipRestore": {
"type": "parameter",
Expand Down Expand Up @@ -117,4 +117,4 @@
"path": "Company.Worker1.csproj"
}
]
}
}

0 comments on commit 34541b4

Please sign in to comment.