ensure that .gitdist in local folder is used
This commit is contained in:
parent
7f8b788791
commit
29e83c02c1
2
gitdist
2
gitdist
|
@ -12,7 +12,7 @@ releaseFolder=/srv/releases
|
||||||
files="binary1 binary2 readme.md"
|
files="binary1 binary2 readme.md"
|
||||||
suffix=amd64Win (optional)'
|
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
|
if [ -z "$projectName" ] || [ -z "$sshUserHost" ] || [ -z "$sshPort" ] || [ -z "$releaseFolder" ] || [ -z "$files" ]; then
|
||||||
echo "not all necessary variables provided - example of a .gitdist file:"
|
echo "not all necessary variables provided - example of a .gitdist file:"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user