Browse Source

Make generate-git-snapshot script sign sources

tags/devuan/0.14.1+devuan6
nextime 6 years ago
parent
commit
d078c089c3
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      scripts/generate-git-snapshot

+ 6
- 1
scripts/generate-git-snapshot View File

@@ -397,7 +397,12 @@ quilt_cleanup

# build source package, run before switching back to previous branch
# to get the actual requested version
dpkg-buildpackage -uc -us -nc -d -S -i -I --source-option=--unapply-patches
if [ -n "${KEY_ID:-}" ] ; then
echo "Signing sources with key id ${KEY_ID}"
dpkg-buildpackage --force-sign -k ${KEY_ID} -nc -d -S -i -I --source-option=--unapply-patches
else
dpkg-buildpackage -uc -us -nc -d -S -i -I --source-option=--unapply-patches
fi

if [ -n "${KEEP_SOURCE_CHANGES:-}" ]; then
echo "*** Not removing ../*_source.changes because KEEP_SOURCE_CHANGES is set ***"


Loading…
Cancel
Save