diff --git a/GitVersion.yml b/GitVersion.yml index 61e6f8e..28840f4 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,6 @@ branches: dev(elop)?(ment)?$: + mode: ContinuousDelivery tag: alpha ignore: sha: [] diff --git a/setup.cake b/setup.cake index 2a06cb7..856af89 100644 --- a/setup.cake +++ b/setup.cake @@ -11,7 +11,7 @@ BuildParameters.SetParameters( repositoryName: "Cake.Transifex", appVeyorAccountName: "cakecontrib", shouldRunDotNetCorePack: true, - shouldBuildNugetSourcePackage: true, + shouldBuildNugetSourcePackage: false, solutionFilePath: "./Cake.Transifex.sln", testFilePattern: "/**/*.Tests.csproj" ); diff --git a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj index bda842a..dbaf018 100644 --- a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj +++ b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp1.0;net452 + netcoreapp1.0;net452;net46 netcoreapp1.0 @@ -9,15 +9,21 @@ pdbonly + + + + + + + - - - - - - + + + + + - + diff --git a/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs b/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs index 7a04008..242c441 100644 --- a/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs +++ b/src/Cake.Transifex.Tests/TransifexInitRunnerTests.cs @@ -1,4 +1,4 @@ -namespace Cake.Transifex.Tests +namespace Cake.Transifex.Tests { using System; using Shouldly; @@ -84,7 +84,7 @@ public void Evaluate_ThrowsArgumentExceptionWhenTokenAndUsernameOrPasswordIsSpec var ex = Assert.Throws(() => this.fixture.Run()); - Assert.Equal(ex.Message, "A token can not be set at the same time as either the username or password."); + Assert.Equal("A token can not be set at the same time as either the username or password.", ex.Message); } } } diff --git a/src/Cake.Transifex/Cake.Transifex.csproj b/src/Cake.Transifex/Cake.Transifex.csproj index b6589a4..2af2de2 100644 --- a/src/Cake.Transifex/Cake.Transifex.csproj +++ b/src/Cake.Transifex/Cake.Transifex.csproj @@ -1,12 +1,12 @@  - netstandard1.6;net45 + netstandard1.6;net45;net46 netstandard1.6 - 1.6.0 + 1.6.1 bin\$(Configuration)\$(TargetFramework)\Cake.Transifex.xml 7 pdbonly @@ -25,7 +25,7 @@ To install the transifex client, install python, then run `pip install transifex https://github.com/cake-contrib/Cake.Transifex git cake build transifex localization - True + False $(RepositoryUrl)/releases/tag/$(Version) @@ -36,13 +36,16 @@ To install the transifex client, install python, then run `pip install transifex True - False + True - + - + + + + diff --git a/src/Cake.Transifex/TransifexRunnerAliases.cs b/src/Cake.Transifex/TransifexRunnerAliases.cs index 49f948f..8efffe7 100644 --- a/src/Cake.Transifex/TransifexRunnerAliases.cs +++ b/src/Cake.Transifex/TransifexRunnerAliases.cs @@ -1,4 +1,4 @@ -namespace Cake.Transifex +namespace Cake.Transifex { using Cake.Core; using Cake.Core.Annotations; @@ -15,7 +15,7 @@ public static class TransifexRunnerAliases /// sets the host to www.transifex.com. /// /// The cake context - /// Runs tx init --host www.transifex.com with the specified + /// Runs tx init --host www.transifex.com with the specified with default settings. /// Cake task: /// /// @@ -37,6 +37,7 @@ public static void TransifexInit(this ICakeContext context) /// an API token. /// /// The cake context + /// The settings to use when initializing repository. /// Runs tx init with the specified /// Cake task: ///