diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-23 07:43:40 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-23 08:20:24 -0400 |
| commit | 2ae852b73a8f1bdc076835c2ebbc3e33ab10cb91 (patch) | |
| tree | b28e6b3492a93c52c85399d3ad18c2b981fc6ddb /ci.bat | |
| parent | d08d5e3fe533fef482281f660177ec3f6c86b495 (diff) | |
Add version information to the build scripts
Diffstat (limited to 'ci.bat')
| -rw-r--r-- | ci.bat | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,8 +2,8 @@ setlocal enabledelayedexpansion -for /f "tokens=1-3 delims=-" %%a in ('echo %date%') do set today=%%a-%%b-%%c -set commit_hash=%GITHUB_SHA:~0,8% +for /f %%a in ('git rev-parse --short HEAD 2^>NUL') do set commit_hash=%%a +for /f %%d in ('powershell -command "[DateTime]::UtcNow.ToString('yyyy-MM-dd')"') do set today=%%d set version=nightly-%today%-%commit_hash% if "%1" == "CI" ( |