dev: fix symlink bug in version.sh

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-01-22 08:34:37 +01:00
parent 4371050206
commit 407194b23f
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,8 @@ unset IFS
VERSION="$(git describe --tags --long)"
printf "Update to version %s ...\n" "${VERSION}"
FILES="$(find ./*)"
# only regular files, ignore .dot files/dirs, e.g. .git .gitinore in BASEDIR
FILES="$(find ./* -type f)"
[ "$1" != "" ] && FILES="$*"
# autogenerate REMADME.html REMADE.txt

View File

@ -6,7 +6,7 @@
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
# shellcheck disable=SC1117
#### $$VERSION$$ v1.32-dev-0-ge954399
#### $$VERSION$$ v1.32-dev-1-g662c6f4
# will be automatically sourced from bashbot