diff --git a/bin/build_source b/bin/build_source index e6e9fa5..253e5c0 100755 --- a/bin/build_source +++ b/bin/build_source @@ -107,11 +107,11 @@ apply_patches() ( version="$(yq -r '.version // ""' < "$1/pkg.yaml")" [ -n "$version" ] || version="$(dpkg-parsechangelog --show-field Version)" - email="$(yq -r '.email // ""' < "$1/pkg.yaml")" - name="$(yq -r '.name // ""' < "$1/pkg.yaml")" - distribution="$(yq -r '.distribution // ""' < "$1/pkg.yaml")" + email="$EMAIL" + name="$NAME" + distribution="$DIST" version_suffix="$(yq -r '.version_suffix // ""' < "$1/pkg.yaml")" - message="$(yq -r '.message // ""' < "$1/pkg.yaml")" + message="$MESSAGE" DEBEMAIL="$email" DEBFULLNAME="$name" dch --newversion "$version$version_suffix" --distribution "$distribution" --force-distribution -- "$message"