Moving version to universal VERSION.md, out of command params

This commit is contained in:
James Barnsley
2017-09-20 10:47:20 +12:00
parent 0e4cf48f3f
commit a45b67776f
4 changed files with 5 additions and 8 deletions

View File

@ -2,11 +2,7 @@
# process production html
BUILD=$(date +%s)
if [ $# -eq 0 ]; then
VERSION="0.0.0"
else
VERSION=$1
fi
VERSION=$(cat VERSION.md)
echo -e "Building $VERSION ($BUILD)"