Move full version check below the version write

This commit is contained in:
Nabeel Shahzad
2020-02-23 21:15:44 -05:00
parent c6f46ee4cb
commit 342fe31ceb

View File

@@ -26,12 +26,10 @@ else
# This now includes the pre-release version, so "-dev" by default
VERSION=${BASE_VERSION}
FULL_VERSION=$(php artisan phpvms:version)
echo "Writing version as ${VERSION}"
# Don't pass in a version here, just write out the latest hash
php artisan phpvms:version --write "${VERSION}"
FULL_VERSION=$(php artisan phpvms:version)
fi
FILE_NAME="phpvms-${VERSION}"