update scripts should update the build hash

This commit is contained in:
Alex "mcmonkey" Goodwin
2024-08-30 23:05:09 -07:00
parent 7462fa999b
commit 628d78eec4
2 changed files with 6 additions and 0 deletions

View File

@@ -20,3 +20,6 @@ fi
# Now build the new copy
dotnet build src/SwarmUI.csproj --configuration Release -o ./src/bin/live_release
cur_head=`git rev-parse HEAD`
echo $cur_head > src/bin/last_build

View File

@@ -23,4 +23,7 @@ if exist src\bin\live_release\ (
rem Now build the new copy
dotnet build src/SwarmUI.csproj --configuration Release -o src/bin/live_release
for /f "delims=" %%i in ('git rev-parse HEAD') do set CUR_HEAD2=%%i
echo !CUR_HEAD2!> src/bin/last_build
timeout 3