oneline CUR_VER in hook.sh

This commit is contained in:
Bella 2020-04-05 13:49:33 -04:00
parent 2909debee8
commit 3ff91918f0
No known key found for this signature in database
GPG Key ID: 815562EA23BFE344
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,7 @@
if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then exit 0; else echo "">/dev/null; fi
CUR_VER="$(cat ./scripts/curVer)"
CUR_VER="${CUR_VER:1}"
CUR_VER="$(tail -c +2 ./scripts/curVer)"
COMMIT_TRIM="${TRAVIS_COMMIT::7}"
COMMIT_MSG="$TRAVIS_COMMIT_MESSAGE"