Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Inok committed Dec 6, 2023
1 parent 4e513a0 commit 305ba88
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<PackageVersion Include="NUnit" Version="4.0.1" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="NuGet.Protocol" Version="6.8.0" />
<PackageVersion Include="Nuke.Common" Version="6.1.2" />
<PackageVersion Include="Spectre.Console" Version="0.45.0" />
<PackageVersion Include="Spectre.Console.Analyzer" Version="0.45.0" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.45.0" />
Expand Down
1 change: 1 addition & 0 deletions Promote.NuGet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".files", ".files", "{508173
README.md = README.md
.editorconfig = .editorconfig
Directory.Packages.props = Directory.Packages.props
global.json = global.json
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{4C9D454A-A6A9-4FDD-9A2E-DA366D4B2C04}"
Expand Down
4 changes: 2 additions & 2 deletions build/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
[TypeConverter(typeof(TypeConverter<Configuration>))]
public class Configuration : Enumeration
{
public static Configuration Debug = new Configuration { Value = nameof(Debug) };
public static Configuration Release = new Configuration { Value = nameof(Release) };
public static readonly Configuration Debug = new Configuration { Value = nameof(Debug) };
public static readonly Configuration Release = new Configuration { Value = nameof(Release) };

public static implicit operator string(Configuration configuration)
{
Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nuke.Common" Version="6.1.2"/>
<PackageReference Include="Nuke.Common"/>
<PackageDownload Include="GitVersion.Tool" Version="[5.10.3]"/>
</ItemGroup>

Expand Down
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "6.0.400",
"rollForward": "latestFeature"
}
}

0 comments on commit 305ba88

Please sign in to comment.