From b0bb376880cb4e827e964a3e615218c151691d45 Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Tue, 18 Jun 2019 14:58:54 +1000 Subject: [PATCH] Ensure the win nightlies git commit check runs from the git source dir --- installer/windows/nightly_build_scripts/win32build.bat | 3 ++- installer/windows/nightly_build_scripts/win64build.bat | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/windows/nightly_build_scripts/win32build.bat b/installer/windows/nightly_build_scripts/win32build.bat index 940b8052..8083bfd3 100755 --- a/installer/windows/nightly_build_scripts/win32build.bat +++ b/installer/windows/nightly_build_scripts/win32build.bat @@ -126,7 +126,8 @@ RMDIR /S /Q %CD%\zip :: Save the last commit hash to 'commit.txt' and upload it to the nightlies server -git rev-parse --verify HEAD 1>commit.txt +CD C:\\git_repos\\sqlitebrowser +git rev-parse --verify HEAD 1>C:\\builds\\commit.txt pscp -q -p -i C:\dev\puttygen_private.ppk "%DEST_PATH%\commit.txt" nightlies@nightlies.sqlitebrowser.org:/nightlies/win32 :: Upload the packages to the nightlies server diff --git a/installer/windows/nightly_build_scripts/win64build.bat b/installer/windows/nightly_build_scripts/win64build.bat index d28e96cc..b4244b35 100755 --- a/installer/windows/nightly_build_scripts/win64build.bat +++ b/installer/windows/nightly_build_scripts/win64build.bat @@ -126,7 +126,8 @@ RMDIR /S /Q %CD%\zip :: Save the last commit hash to 'commit.txt' and upload it to the nightlies server -git rev-parse --verify HEAD 1>commit.txt +CD C:\\git_repos\\sqlitebrowser +git rev-parse --verify HEAD 1>C:\\builds\\commit.txt pscp -q -p -i C:\dev\puttygen_private.ppk "%DEST_PATH%\commit.txt" nightlies@nightlies.sqlitebrowser.org:/nightlies/win64 :: Upload the packages to the nightlies server