wcomab - Cake.Git 0.15.0-build-2764

Cake Git AddIn

PM> Install-Package Cake.Git -Version 0.15.0-build-2764 -Source https://www.myget.org/F/wcomab/api/v3/index.json

Copy to clipboard

> nuget.exe install Cake.Git -Version 0.15.0-build-2764 -Source https://www.myget.org/F/wcomab/api/v3/index.json

Copy to clipboard

> dotnet add package Cake.Git --version 0.15.0-build-2764 --source https://www.myget.org/F/wcomab/api/v3/index.json

Copy to clipboard
<PackageReference Include="Cake.Git" Version="0.15.0-build-2764" />
Copy to clipboard
source https://www.myget.org/F/wcomab/api/v3/index.json

nuget Cake.Git  ~> 0.15.0-build-2764
Copy to clipboard

> choco install Cake.Git --version 0.15.0-build-2764 --source https://www.myget.org/F/wcomab/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "wcomab" -SourceLocation "https://www.myget.org/F/wcomab/api/v2"
Install-Module -Name "Cake.Git" -RequiredVersion "0.15.0-build-2764" -Repository "wcomab" -AllowPreRelease
Copy to clipboard

Cake Git

NuGet MyGet

Cake AddIn that extends Cake with Git features using LibGit2 and LibGit2Sharp

Build server Platform Status
AppVeyor Windows Build status
Travis Linux / OS X Build Status

Documentation

Documentation available at cakebuild.net/dsl/git

Example usage

#addin nuget:?package=Cake.Git

var lastCommit = GitLogTip("PATH TO REPOSITORY");

Information(@"Last commit {0}
    Short message: {1}
    Author:        {2}
    Authored:      {3:yyyy-MM-dd HH:mm:ss}
    Committer:     {4}
    Committed:     {5:yyyy-MM-dd HH:mm:ss}",
    lastCommit.Sha,
    lastCommit.MessageShort,
    lastCommit.Author.Name,
    lastCommit.Author.When,
    lastCommit.Committer.Name,
    lastCommit.Committer.When
    );

Example output

Last commit fb5b9805e543d8d1715886f78c273dc45b51a928
    Short message: Added Travis test folding
    Author:        Mattias Karlsson
    Authored:      2016-08-16 085836
    Committer:     Mattias Karlsson
    Committed:     2016-08-16 085836

Added GitHasStagedChanges alias Included license in nuget package

  • Windows 3.2: 3.2.0.0

Owners

wcomab

Authors

WCOM AB

Project URL

https://github.com/WCOMAB/Cake_Git

License

MIT

Tags

Cake Script Build Git

Info

14 total downloads
3 downloads for version 0.15.0-build-2764
Download (7.82 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
0.15.0-build-2764 7.82 MB Mon, 08 Oct 2018 02:01:25 GMT 3
0.15.0-build-2763 7.82 MB Sun, 07 Oct 2018 18:01:05 GMT 2
0.15.0-build-2762 7.82 MB Sun, 07 Oct 2018 10:04:01 GMT 0
0.15.0-build-2761 7.82 MB Sun, 07 Oct 2018 02:00:54 GMT 0
0.15.0-build-2760 7.82 MB Sat, 06 Oct 2018 18:02:16 GMT 0
0.15.0-build-2759 7.82 MB Sat, 06 Oct 2018 10:00:47 GMT 1
0.15.0-build-2758 7.82 MB Sat, 06 Oct 2018 02:03:01 GMT 0
0.15.0-build-2757 7.82 MB Fri, 05 Oct 2018 18:03:30 GMT 0
0.15.0-build-2756 7.82 MB Fri, 05 Oct 2018 10:01:53 GMT 0
0.15.0-build-2755 7.82 MB Fri, 05 Oct 2018 02:01:08 GMT 0
0.15.0-build-2754 7.82 MB Thu, 04 Oct 2018 18:03:01 GMT 0
0.15.0-build-2752 7.82 MB Thu, 04 Oct 2018 02:02:30 GMT 0
0.15.0-build-2751 7.82 MB Wed, 03 Oct 2018 18:03:04 GMT 1
0.15.0-build-2750 7.82 MB Wed, 03 Oct 2018 10:03:53 GMT 0
0.15.0-build-2749 7.82 MB Wed, 03 Oct 2018 02:01:52 GMT 0
0.15.0-build-2748 7.82 MB Tue, 02 Oct 2018 18:04:00 GMT 1
0.15.0-build-2747 7.82 MB Tue, 02 Oct 2018 10:04:50 GMT 0
0.15.0-build-2746 7.82 MB Tue, 02 Oct 2018 02:01:37 GMT 0
0.15.0-build-2745 7.82 MB Mon, 01 Oct 2018 18:01:22 GMT 1
0.15.0-build-2744 7.82 MB Mon, 01 Oct 2018 10:01:42 GMT 0
0.0.1 5.63 MB Sat, 12 Dec 2015 23:48:38 GMT 5