chore: make version banner configurable and speed up login waits
This commit is contained in:
parent
34e8d92b05
commit
133502ff94
4 changed files with 13 additions and 4 deletions
|
|
@ -2,8 +2,13 @@
|
|||
|
||||
set -eo pipefail # exit on error, error on any fail in pipe (not just last cmd); add -x to print each cmd; see gist bash_strict_mode.md
|
||||
|
||||
echo "Version: https://github.com/vogler/free-games-claimer/tree/${COMMIT}"
|
||||
[ ! -z $BRANCH ] && [ $BRANCH != "main" ] && echo "Branch: ${BRANCH}"
|
||||
REPO_URL=${REPO_URL:-https://git.sky-net.it/nocci/free-games-claimer}
|
||||
if [ -n "$COMMIT" ]; then
|
||||
echo "Version: ${REPO_URL}/tree/${COMMIT}"
|
||||
else
|
||||
echo "Version: ${REPO_URL}"
|
||||
fi
|
||||
[ -n "$BRANCH" ] && [ "$BRANCH" != "main" ] && echo "Branch: ${BRANCH}"
|
||||
echo "Build: $NOW"
|
||||
|
||||
# Ensure writable data dir for fgc when host bind-mount is owned by root.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue