ensure that .gitdist in local folder is used

This commit is contained in:
gutmet 2018-12-23 17:53:32 +01:00
parent 7f8b788791
commit 29e83c02c1

View File

@ -12,7 +12,7 @@ releaseFolder=/srv/releases
files="binary1 binary2 readme.md"
suffix=amd64Win (optional)'
source .gitdist || { echo "you need a .gitdist file in your git repo"; leave=true; }
source ./.gitdist || { echo "you need a .gitdist file in your git repo"; leave=true; }
if [ -z "$projectName" ] || [ -z "$sshUserHost" ] || [ -z "$sshPort" ] || [ -z "$releaseFolder" ] || [ -z "$files" ]; then
echo "not all necessary variables provided - example of a .gitdist file:"