build.sh: fix dpkg-source / quilt 'version does not contain a revision' error
This commit is contained in:
parent
3a443e1fa5
commit
e38e5b10a7
1 changed files with 6 additions and 1 deletions
7
build.sh
7
build.sh
|
@ -78,6 +78,10 @@ else
|
||||||
echo "Use debian codename from environment ($DEBIAN_CODENAME)"
|
echo "Use debian codename from environment ($DEBIAN_CODENAME)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Compute debian package version
|
||||||
|
DEB_VERSION_SUFFIX="-1"
|
||||||
|
DEB_VERSION="$VERSION$DEB_VERSION_SUFFIX"
|
||||||
|
|
||||||
echo "Generate debian changelog using gitdch..."
|
echo "Generate debian changelog using gitdch..."
|
||||||
GITDCH_ARGS=('--verbose')
|
GITDCH_ARGS=('--verbose')
|
||||||
[ -n "$QUIET_ARG" ] && GITDCH_ARGS=('--warning')
|
[ -n "$QUIET_ARG" ] && GITDCH_ARGS=('--warning')
|
||||||
|
@ -93,7 +97,8 @@ then
|
||||||
fi
|
fi
|
||||||
$GITDCH \
|
$GITDCH \
|
||||||
--package-name mylib \
|
--package-name mylib \
|
||||||
--version "${VERSION}" \
|
--version "${DEB_VERSION}" \
|
||||||
|
--version-suffix "${DEB_VERSION_SUFFIX}" \
|
||||||
--code-name $DEBIAN_CODENAME \
|
--code-name $DEBIAN_CODENAME \
|
||||||
--output debian/changelog \
|
--output debian/changelog \
|
||||||
--release-notes ../../dist/release_notes.md \
|
--release-notes ../../dist/release_notes.md \
|
||||||
|
|
Loading…
Reference in a new issue