mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
debian: return an error if debian snapshot build fails
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
757ed001aa
commit
7ebb2f5509
1 changed files with 10 additions and 8 deletions
|
@ -97,14 +97,16 @@ pre-release:
|
||||||
.PHONY: debian-snapshot
|
.PHONY: debian-snapshot
|
||||||
debian-snapshot:
|
debian-snapshot:
|
||||||
make VERSION=$(VERSION) clean
|
make VERSION=$(VERSION) clean
|
||||||
TMPFILE=$$(mktemp /tmp/notmuch.XXXXXX); \
|
RETVAL=0 && \
|
||||||
cp debian/changelog $${TMPFILE}; \
|
TMPFILE=$$(mktemp /tmp/notmuch.XXXXXX) && \
|
||||||
EDITOR=/bin/true dch -b -v $(VERSION)+1 \
|
cp debian/changelog $${TMPFILE} && \
|
||||||
-D UNRELEASED 'test build, not for upload'; \
|
(EDITOR=/bin/true dch -b -v $(VERSION)+1 \
|
||||||
echo '3.0 (native)' > debian/source/format; \
|
-D UNRELEASED 'test build, not for upload' && \
|
||||||
debuild -us -uc; \
|
echo '3.0 (native)' > debian/source/format && \
|
||||||
|
debuild -us -uc); RETVAL=$$? \
|
||||||
mv -f $${TMPFILE} debian/changelog; \
|
mv -f $${TMPFILE} debian/changelog; \
|
||||||
echo '3.0 (quilt)' > debian/source/format
|
echo '3.0 (quilt)' > debian/source/format; \
|
||||||
|
exit $$RETVAL
|
||||||
|
|
||||||
.PHONY: release-message
|
.PHONY: release-message
|
||||||
release-message:
|
release-message:
|
||||||
|
|
Loading…
Reference in a new issue