]> git.proxmox.com Git - debcargo-conf.git/blame - repackage.sh
Merge branch 'pending-log-reroute'
[debcargo-conf.git] / repackage.sh
CommitLineData
b4e5b9dc
XL
1#!/bin/sh
2
3. ./vars.sh.frag
4
eaab0c81
XL
5if ! shouldbuild "$BUILDDIR/debian/changelog" "$PKGDIR/debian/changelog" && \
6 ! shouldbuild "$BUILDDIR/debian/changelog" "$DEBCARGO"; then
b4e5b9dc
XL
7 exit 0
8fi
9
10REALVER="$(sed -nre "s/.*Package .* (.*) from crates.io.*/\1/gp" "$PKGDIR/debian/changelog" | head -n1)"
20dc0e02 11run_debcargo --no-overlay-write-back --changelog-ready