release: also build a Debian source-only upload

This commit is contained in:
Michael Stapelberg 2018-03-10 18:52:50 +01:00
parent 8513107f09
commit a07980f70b
1 changed files with 2 additions and 1 deletions

View File

@ -126,6 +126,7 @@ WORKDIR /usr/src
RUN mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' i3-${RELEASE_VERSION}/debian/control RUN mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' i3-${RELEASE_VERSION}/debian/control
WORKDIR /usr/src/i3-${RELEASE_VERSION} WORKDIR /usr/src/i3-${RELEASE_VERSION}
RUN dpkg-buildpackage -sa -j8 RUN dpkg-buildpackage -sa -j8
RUN dpkg-buildpackage -S -sa -j8
EOT EOT
CONTAINER_NAME=$(echo "i3-${TMPDIR}" | sed 's,/,,g') CONTAINER_NAME=$(echo "i3-${TMPDIR}" | sed 's,/,,g')
@ -139,7 +140,7 @@ echo "Content of resulting packages .changes file:"
cat ${TMPDIR}/debian/*.changes cat ${TMPDIR}/debian/*.changes
# debsign is in devscripts, which is available in fedora and debian # debsign is in devscripts, which is available in fedora and debian
debsign -k4AC8EE1D ${TMPDIR}/debian/*.changes debsign --no-re-sign -k4AC8EE1D ${TMPDIR}/debian/*.changes
# TODO: docker cleanup # TODO: docker cleanup