mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Win32 build: Copy an initial logfile to the webserver when the build is started
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22880 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d265eb4a6d
commit
bb26969082
@ -47,6 +47,14 @@ if [ `hostname` = "gnucash-win32" ]; then
|
||||
rmdir "$_OUTPUT_DIR/$LOG_DIR"
|
||||
fi
|
||||
|
||||
# If we're running on the build server, copy a temporary logfile
|
||||
# content to the webserver to signal that the build is in progress
|
||||
if [ `hostname` = "gnucash-win32" ]; then
|
||||
_PWD=`pwd`
|
||||
echo "Build for tag \"${tag}\" is in progress (current working directory: ${_PWD}) ..." > ${LOGFILE}
|
||||
scp -p ${LOGFILE} upload@code.gnucash.org:public_html/win32/$LOG_DIR
|
||||
fi
|
||||
|
||||
set +e
|
||||
trap on_error ERR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user