mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-04-28 16:24:37 +00:00
Add an option to upload to experimental
This commit is contained in:
parent
a7a70c104b
commit
699de4ac1b
@ -37,8 +37,9 @@ To prepare a release
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
./release.sh <rust-crate-name> # or
|
./release.sh <rust-crate-name> # or
|
||||||
./release.sh <rust-crate-name> <old-version> # as appropriate
|
./release.sh <rust-crate-name> <old-version> # as appropriate
|
||||||
|
DISTRO=experimental ./release.sh <rust-crate-name> # to target another distro
|
||||||
|
|
||||||
This prepares the necessary Debian files in ``build/``, and creates a git
|
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
|
branch to manage the packaging until it is accepted in Debian itself. You need
|
||||||
|
@ -49,7 +49,11 @@ fi
|
|||||||
|
|
||||||
( cd "$PKGDIR"
|
( cd "$PKGDIR"
|
||||||
sed -i -e s/UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO/UNRELEASED/ debian/changelog
|
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
|
git add debian/changelog
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user