Check for errors on windows release scripts
parent
eb2bf3b996
commit
d570a7db21
@ -1,9 +1,15 @@
|
|||||||
git push
|
git push || goto :error
|
||||||
call build_release.bat
|
call build_release.bat || goto :error
|
||||||
call update_server.bat
|
call update_server.bat || goto :error
|
||||||
tar.exe -a -c -f releases\flight-nonumber.zip flight_release.exe loaded LICENSE.txt
|
tar.exe -a -c -f releases\flight-nonumber.zip flight_release.exe loaded LICENSE.txt || goto :error
|
||||||
echo "Now test flight-nonumber and make sure it works. Once everything is confirmed to be working:"
|
echo "Now test flight-nonumber and make sure it works. Once everything is confirmed to be working:"
|
||||||
echo "1. Increment the GIT_RELEASE_TAG in buildsettings.h"
|
echo "1. Increment the GIT_RELEASE_TAG in buildsettings.h"
|
||||||
echo "2. Add everything to git and commit"
|
echo "2. Add everything to git and commit"
|
||||||
echo "3. Tag the new commit the _exact same_ as the previously mentioned GIT_RELEASE_TAG"
|
echo "3. Tag the new commit the _exact same_ as the previously mentioned GIT_RELEASE_TAG"
|
||||||
echo "4. Push everything, then update all the servers (@TODO make this a script that works for multiple servers)"
|
echo "4. Push everything, then update all the servers (@TODO make this a script that works for multiple servers)"
|
||||||
|
|
||||||
|
goto :EOF
|
||||||
|
|
||||||
|
:error
|
||||||
|
echo Failed to release with error %errorlevel%
|
||||||
|
exit /b %errorlevel%
|
@ -1 +1,2 @@
|
|||||||
ssh astris "cd flight; git pull; ./linux_server_install.sh"
|
@echo off
|
||||||
|
ssh astris "cd flight || exit 1 ; git pull || exit 1 ; ./linux_server_install.sh || exit 1 ; echo Successfully updated" || exit /b %errorlevel%
|
Loading…
Reference in New Issue