mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Should fix patch_commit_number.ps1 call (shallow clone cannot find a proper commit number for the nightly release).
This commit is contained in:
@@ -2,7 +2,10 @@ Set-Location (Resolve-Path "$PSScriptRoot\..\..")
|
||||
|
||||
$COMMIT_NUMBER = git rev-list "$((git tag --sort=-creatordate | Select-String ecode | Select-Object -First 1).Line)..HEAD" --count
|
||||
|
||||
if ($LASTEXITCODE) { exit $LASTEXITCODE }
|
||||
if ($LASTEXITCODE) {
|
||||
Write-Error "Error: git binary not found"
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
$FILE_PATH = ".\src\tools\ecode\version.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user