diff --git a/README.rst b/README.rst index 0f0a01b..2c95f7c 100644 --- a/README.rst +++ b/README.rst @@ -37,8 +37,9 @@ :: - ./release.sh # or - ./release.sh # as appropriate + ./release.sh # or + ./release.sh # as appropriate + DISTRO=experimental ./release.sh # to target another distro This prepares the necessary Debian files in ``build/``, and creates a git branch to manage the packaging until it is accepted in Debian itself. You need diff --git a/release.sh b/release.sh index 03ce2a6..6f63bd5 100755 --- a/release.sh +++ b/release.sh @@ -49,7 +49,11 @@ ( cd "$PKGDIR" sed -i -e s/UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO/UNRELEASED/ debian/changelog -dch -m -r -D unstable "" +if test -z "$DISTRO"; then + # To upload to other distro like experimental + DISTRO=unstable +fi +dch -m -r -D $DISTRO "" git add debian/changelog )