Skip to content

Commit

Permalink
Merge pull request #10 from cake-contrib/release/1.0
Browse files Browse the repository at this point in the history
Cake.MinVer v1.0.0 release (will target Cake v1.0.0)
  • Loading branch information
augustoproiete authored Feb 7, 2021
2 parents 47bcb5c + 79c5e2a commit fbd81df
Show file tree
Hide file tree
Showing 37 changed files with 121 additions and 49 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.38.5",
"version": "1.0.0",
"commands": [
"dotnet-cake"
]
},
"minver-cli": {
"version": "2.3.1",
"version": "2.4.0",
"commands": [
"minver"
]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 C. Augusto Proiete & Contributors
Copyright (c) 2020-2021 C. Augusto Proiete & Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": false,
"version": "3.1.100",
"version": "5.0.100",
"rollForward": "latestFeature"
}
}
4 changes: 3 additions & 1 deletion src/Cake.MinVer/AddInInformation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System.Reflection;
using Cake.Core.Diagnostics;
Expand Down
8 changes: 4 additions & 4 deletions src/Cake.MinVer/Cake.MinVer.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>net5.0;netstandard2.0</TargetFrameworks>
<RootNamespace>Cake.MinVer</RootNamespace>

<AssemblyName>Cake.MinVer</AssemblyName>
Expand Down Expand Up @@ -29,7 +29,7 @@
<Authors>C. Augusto Proiete &amp; Contributors</Authors>
<Company>augustoproiete.net</Company>
<Description>Cake add-in that makes MinVer available as a tool in Cake.</Description>
<Copyright>Copyright 2020 C. Augusto Proiete &amp; Contributors - Provided under the MIT License</Copyright>
<Copyright>Copyright 2020-2021 C. Augusto Proiete &amp; Contributors - Provided under the MIT License</Copyright>
<PackageTags>cake;minver;cake-addin;cake-build;cake-contrib</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>images\icon.png</PackageIcon>
Expand All @@ -41,8 +41,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="0.33.0" PrivateAssets="All" />
<PackageReference Include="Cake.Common" Version="0.33.0" PrivateAssets="All" />
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Common" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/IMinVerGlobalTool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

namespace Cake.MinVer
{
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/IMinVerLocalTool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

namespace Cake.MinVer
{
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/IMinVerTool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

namespace Cake.MinVer
{
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerAliases.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using Cake.Core;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerAutoIncrement.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

namespace Cake.MinVer
{
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerEnvironmentVariables.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

namespace Cake.MinVer
{
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerGlobalTool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System.Collections.Generic;
using Cake.Core;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerLocalTool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using Cake.Core;
using Cake.Core.Diagnostics;
Expand Down
5 changes: 4 additions & 1 deletion src/Cake.MinVer/MinVerSettings.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using Cake.Common.Tools.DotNetCore;
Expand Down Expand Up @@ -125,6 +127,7 @@ public MinVerSettings Clone()
NoWorkingDirectory = NoWorkingDirectory,
ArgumentCustomization = ArgumentCustomization,
EnvironmentVariables = EnvironmentVariables,
HandleExitCode = HandleExitCode,
};

return clone;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerSettingsExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using System.ComponentModel;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerTool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using System.Globalization;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerToolBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using System.Collections.Generic;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerVerbosity.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

namespace Cake.MinVer
{
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/MinVerVersion.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using System.Collections.Generic;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/Namespaces.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System.Runtime.CompilerServices;

Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/Properties/InternalsVisibleTo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System.Runtime.CompilerServices;

Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/Utils/EnvironmentProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using System.Collections.Generic;
Expand Down
4 changes: 3 additions & 1 deletion src/Cake.MinVer/Utils/IEnvironmentProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 C. Augusto Proiete & Contributors
#region Copyright 2020-2021 C. Augusto Proiete & Contributors
//
// Licensed under the MIT (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System.Collections.Generic;
using Cake.Core.IO;
Expand Down
21 changes: 13 additions & 8 deletions test/Cake.MinVer.Tests/Cake.MinVer.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="0.33.0" />
<PackageReference Include="Cake.Common" Version="0.33.0" />
<PackageReference Include="Cake.Testing" Version="0.33.0" />
<PackageReference Include="Cake.Common" Version="1.0.0" />
<PackageReference Include="Cake.Testing" Version="1.0.0" />

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="coverlet.collector" Version="1.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="1.3.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="5.10.3" />
</ItemGroup>

Expand Down
Loading

0 comments on commit fbd81df

Please sign in to comment.