mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 23:36:08 +03:00
Do not upload when no file
This commit is contained in:
parent
ef67669c16
commit
6cb1ce8317
@ -19,7 +19,7 @@ echo "IS_SNAPSHOT: ${IS_SNAPSHOT}"
|
|||||||
pushd build/Build/Products/Release
|
pushd build/Build/Products/Release
|
||||||
|
|
||||||
echo "### Creating release"
|
echo "### Creating release"
|
||||||
if [ "${IS_SNAPSHOT}" = true ] ; then
|
if [[ "${IS_SNAPSHOT}" = true ]] ; then
|
||||||
GITHUB_TOKEN="${TOKEN}" github-release release \
|
GITHUB_TOKEN="${TOKEN}" github-release release \
|
||||||
--user qvacua \
|
--user qvacua \
|
||||||
--repo vimr \
|
--repo vimr \
|
||||||
@ -36,6 +36,10 @@ else
|
|||||||
--description "${RELEASE_NOTES}"
|
--description "${RELEASE_NOTES}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${VIMR_FILE_NAME}" ]]; then
|
||||||
|
echo "No file to upload; exiting..."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo "### Uploading build"
|
echo "### Uploading build"
|
||||||
GITHUB_TOKEN="${TOKEN}" github-release upload \
|
GITHUB_TOKEN="${TOKEN}" github-release upload \
|
||||||
|
Loading…
Reference in New Issue
Block a user