mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-26 04:57:55 +01:00
automated/run-lts.sh: sync run-nightly tweaks
[skip ci]
This commit is contained in:
parent
e51ae2aafc
commit
d61dc09ae6
@ -4,7 +4,10 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
|
|||||||
|
|
||||||
git pull
|
git pull
|
||||||
LOG_FILE="logs/$1-build-$(date -u +%F+%T).log"
|
LOG_FILE="logs/$1-build-$(date -u +%F+%T).log"
|
||||||
|
if [ -L $1-build.log ]; then
|
||||||
|
mv -f $1-build.log $1-build-previous.log
|
||||||
|
fi
|
||||||
ln -sf $LOG_FILE lts-build.log
|
ln -sf $LOG_FILE lts-build.log
|
||||||
time script -q -c "./build.sh $*" $LOG_FILE
|
time script -c "./build.sh $*" $LOG_FILE
|
||||||
touch -h lts-build.log
|
touch -h lts-build.log
|
||||||
date
|
date
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user