mirror of
https://github.com/ben-grande/qusal.git
synced 2025-06-19 11:54:26 -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
|
@ -15,7 +15,7 @@ intended_target="${target}"
|
|||
if test "${1-}" = "test"; then
|
||||
tmpdir="$(mktemp -d)"
|
||||
target="${tmpdir}/.qubesbuilder"
|
||||
trap 'rm -rf -- "${tmpdir}"' EXIT INT HUP QUIT ABRT
|
||||
trap 'ec="$?"; rm -rf -- "${tmpdir}"; exit "$ec"' EXIT INT HUP QUIT ABRT
|
||||
fi
|
||||
ignored="$(git ls-files --exclude-standard --others --ignored salt/)"
|
||||
untracked="$(git ls-files --exclude-standard --others salt/)"
|
||||
|
|
|
@ -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