Releases: devlooped/GitInfo
Releases · devlooped/GitInfo
v2.3.0
v2.2.1
What's Changed
✨ Implemented enhancements
- Fix of buildTransitive feature of package by @PadreSVK in #182
- Update "dirty" file only when
GitIsDirty
changes by @AmoreCadenza in #184 - fix bug Branch name is wrong when compiling from a git worktree by @li-zhixin in #197
- Fix "MSBuild customizations" misnomer & add link to documentation by @JimmyCushnie in #206
- Add section on how to set versions from MSBuild by @kzu in #211
- Properly escape GitExe and CygPathExe for WSL by @socram8888 in #195
🐛 Fixed bugs
- Disable signatures when obtaining commit date - fixes #180 by @socram8888 in #213
New Contributors
- @github-actions made their first contribution in #200
- @AmoreCadenza made their first contribution in #184
- @li-zhixin made their first contribution in #197
- @devlooped-bot made their first contribution in #201
- @JimmyCushnie made their first contribution in #206
- @paonath made their first contribution in #173
- @socram8888 made their first contribution in #195
Full Changelog: v2.2.0...v2.2.1
v2.2.0
v2.2.0 (2021-08-25)
✨ Implemented enhancements:
- Add source repository information to package #169
- Add support for nuget transitive dependencies (via PackageReference) #154
- GitThisAssemblyMetadata documentation is confusing #152
- Feature request: let _CommitDateFormat be configurable #144
- Build error when the first commit on a new branch is a cherry pick #133
- support for git worktree #88
- Issue with GitIsDirty and GitCache #60
🔨 Other:
- Project URL should be devlooped.github.io/GitInfo #149
- "ThisAssembly.Git.Branch" returns "undefined" in Linux system #139
🔀 Merged:
- 🖆 Apply devlooped/oss template, nugetize and modernize #168 (@kzu)
- Is dirty always check #165 (@freza-tm)
- Add support for nuget transitive dependecy for .targets #155 (@PadreSVK)
- Updating content readme.txt for issue #152 #153 (@Jehoel)
- Handle add non-zero exit codes from Git #147 (@Therzok)
- Allowed git commit date format to be configured through GitCommitDateFormat property #145 (@tomcurran)
- Add --always to default name-rev args, so a commit hash is used instead of 'undefined' #132 (@andersforsgren)
v2.1.2
v2.1.2 (2020-09-24)
✨ Implemented enhancements:
- Option to exclude merges when calculating SemVerPatch #124
- RepositoryUrl may contain username and password #122
- Folder Syntax are not supported #101
- Only consider version tags #100
- Add "CheckinDate" to the ThisAssembly to be used in AssemblyInfo #65
- Error when the path to file GitInfo.txt contains spaces #13
- Include boolean indicating whether working tree is dirty #10
- GitExe in the PATH should be first #6
- Thoughts on including date information #2
🔨 Other:
- Possibility to exclude tag refs from $(GitBranch) #126
- "Unrecognized escape sequence" when remote url is a Windows path #119
- GitSemVerPatch always 0 after update from 2.0.26 to 2.0.29 #116
- Add GitSha override when building #114
- Use MSBuild property to determine base version instead of external file #113
- [Feature] Retrieve repository url #109
- ASP.NET Core 3.1 GitThisAssemblyMetadata setting? #108
- Change ThisAssembly access to Public #107
- Include origin in git info #103
- Can't Get BaseVersion.Patch+1 #99
- Issues because ThisAssembly is not public #92
- Build fails if
git config log.showSignature true
#86 - Emit assembly attributes #85
- Conflicts when using InternalsVisibleTo #84
- Broken link #83
- Incremental build is broken #81
- dotnet tool #79
- Question regarding ThisAssembly.Git.Tag - separate commit using a plus? #78
- Is there a way to make GitInfo work with Xamarin Live Player #77
- GitInfo.txt per project leaves GitSemVerPatch at zero #76
- How to add pre-release information only if building from dev branches or on dev box #70
- Default protection level of ThisAssembly #69
- Info on target (release/debug/...)? #68
- csproj example #62
- Cannot use on OSX #61
- Preffered Version Scheme #59
- naming clash? "ThisAssembly" exists in Microsoft.Build.Utilities.v4.0 #56
- Cannot access internal class "ThisAssembly" here #55
- Commits not counting correctly when base branch is already ahead #54
- Examples to increase the counters. #49
- Clean up the output by using EchoOff for Exec #47
- If no Git found, build should fail #46
- HOWTO dotnet core nuget versioning #45
- Using GitInfo in a WPF app causes build failure #44
- Assembly Metadata IsDirty must be a string #43
- Build fails from dotnet publish #41
- Templates should have the <auto-generated /> tag as first line #39
- packed-refs need be tracked. #37
- ThisAssembly.Git.Commit: Information Mis-match #33
- VB.Net: Strict Mode #32
- Using GitSemVer in TFS builds/releases. #29
- Branch names with slashes are chopped #27
- Set default value for GitIsDirty #23
- Confused about where values come from #21
- override ThisAssemblyNamespace #20
- Build error with 1.1.32 #17
- Usefulness of Git.SemVer.Patch compared to Git.Commits? #9
- Cant get it to work on Universal Windows Platform #7
- Tag prefix per project possible ? #5
- Still -Pre release on nuget? #1
🔀 Merged:
- Allow tag and base version customization, flex matching #129 (@kzu)
- Prevent tag refs in $(GitBranch) for detached heads. #127 (@andersforsgren)
- Add GitCommitsIgnoreMerges option #125 (@christianerbsmehl)
- Remove username and password from repository URL #123 (@sbj42)
- Add GitCommitDate (#65) #121 (@nikolamilekic)
- Use verbatim string literals in C# and F# templates #120 (@sbj42)
- Fix GitSemVerPatch always 0 #117 (@ysc3839)
- Make the PATCH / GitBaseVersionPatch optional #115 (@BoBiene)
- Fix GitThisAssemblyMetadata #112 (@joacar)
- Add repository url #111 (@joacar)
- fixed #98 #110 (@pedoc)
- Turn off signature display when running log #102 (@kzu)
- Fix SemVer.Source not working in Visual Basic #97 (@MobileManiC)
- F# support #93 (@ndani14)
- Don't cause MSBuild warnings 'expected' failures #90 (@alanmcgovern)
- Fix incremental build #82 (@shadow-cs)
- Reintroduce NormalizeDirectory usage, fix actual error #75 (@kzu)
- Ensure we normalize to the correct path separator #73 (@alanmcgovern)
- Allow counting all commits in the repository #66 (@alanmcgovern)
- Ensuring the GitExe is set when the initial target is not evaluated #58 (@adalon)
- Fix for cygwin/WSL and add support for Windows Store WSL distros #57 (@chkn)
- Add support for multi-targeting builds to retrieve Git information #53 (@kzu)
- v2 #52 (@kzu)
- Switch to 2017 image #51 (@kzu)
- Use MSBuildRuntimeTime to discern xbuild #50 (@abock)
- Don't do xbuild things on Windows #42 (@bojanrajkovic)
- Add <auto-generated /> comments to templates #40 (@bvli)
- track packed-refs as refs/heads may be empty when "packed-refs -all" have been used #38 (@bigbearzhu)
- VB.Net: Strict Mode, fixes #32 #36 (@wahmedswl)
- fixes #32 #35 (@wahmedswl)
- Add support for git in WSL #31 (@chkn)
- Update documentation (and whitespace) #26 (@dueringa)
- Set default value for GitIsDirty in non-repos #25 (@dueringa)
- Set default value for GitIsDirty in non-repos #24 (@dueringa)
- Added support for worktrees #22 (@taylorjonl)
- ...