Skip to content

Commit

Permalink
add missing prebuild hook file
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankueng committed May 19, 2023
1 parent 6e96c2a commit e72f627
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions evernote2onenote/src/Properties/prebuild.ps1
@@ -0,0 +1,6 @@
$filePathSrc = $PSScriptRoot + "/AssemblyInfo.tmpl"
$filePathDest = $PSScriptRoot + "/AssemblyInfo.cs"
Push-Location -Path $PSScriptRoot\..\..
$logCount = git rev-list --all --count
Pop-Location
(Get-Content $filePathSrc).Replace("%WCLOGCOUNT%",$logCount) | Set-Content $filePathDest

0 comments on commit e72f627

Please sign in to comment.