Create wrapper around versioning library to update on builds

This commit is contained in:
Nabeel Shahzad
2018-01-06 17:00:47 -06:00
parent b8e00a3ee1
commit 94c0eb8502
4 changed files with 73 additions and 25 deletions

View File

@@ -19,7 +19,8 @@ if [ "$TRAVIS" = "true" ]; then
cd $TRAVIS_BUILD_DIR
php artisan version:show --format compact --suppress-app-name > VERSION
#php artisan version:show --format compact --suppress-app-name > VERSION
php artisan phpvms:version --write > VERSION
VERSION=`cat VERSION`
echo "Version: $VERSION"