mirror of
https://github.com/ben-grande/qusal.git
synced 2025-05-06 16:25:17 -04:00
ci: set spec vendor as git user.name is unset
Fixes: https://github.com/ben-grande/qusal/issues/67
This commit is contained in:
parent
a6194e0364
commit
ac6f707bf5
3 changed files with 11 additions and 2 deletions
|
@ -62,6 +62,14 @@ packager="${SPEC_PACKAGER:-"${vendor}"}"
|
|||
url="${SPEC_URL:-"https://github.com/ben-grande/qusal"}"
|
||||
bug_url="${SPEC_BUGURL:-"${url}/issues"}"
|
||||
|
||||
if test -z "${group}" || test -z "${vendor}" || test -z "${packager}" \
|
||||
|| test -z "${url}" || test -z "${bug_url}"
|
||||
then
|
||||
echo "At least one empty var: group, vendor, packager, url, bug_url" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
project="${group}-${name}"
|
||||
project_dir="salt/${name}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue