CI: Include the date in the build details

logging-improvements
Jermolene 2019-01-07 17:32:46 +00:00
rodzic 86e27d64f2
commit 6c48c24332
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ jobs:
- stage: build
script:
- ./bin/travis-pre-build.sh
- export TW5_BUILD_DETAILS="Built from branch '$TRAVIS_BRANCH' at commit $(git rev-parse HEAD) of $(git remote get-url origin)"
- export TW5_BUILD_DETAILS="Built from branch '$TRAVIS_BRANCH' at commit $(git rev-parse HEAD) of $(git remote get-url origin) at $(date '%H:%M:%S +%Y-%m-%d')"
- export TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js'
- ./bin/build-site.sh
- ./bin/travis-push.sh

Wyświetl plik

@ -66,7 +66,7 @@ echo "<a href='./plugins/tiddlywiki/tahoelafs/index.html'>Moved to http://tiddly
# Put the build details into a .tid file so that it can be included in each build
echo -e "title: $:/build\n\n$TW5_BUILD_DETAILS\n" > $TW5_BUILD_OUTPUT/build.tid
echo -e -n "title: $:/build\n\n$TW5_BUILD_DETAILS\n" > $TW5_BUILD_OUTPUT/build.tid
######################################################
#