Codebase list rust-memchr / d60fa409-6eb6-440d-9b8a-4dbd697e1d10/main repackage.sh
d60fa409-6eb6-440d-9b8a-4dbd697e1d10/main

Tree @d60fa409-6eb6-440d-9b8a-4dbd697e1d10/main (Download .tar.gz)

repackage.sh @d60fa409-6eb6-440d-9b8a-4dbd697e1d10/mainraw · history · blame

#!/bin/sh
# Repackage a crate at the exact version that it was packaged at.
#
# Usage: ./repackage.sh <CRATE> [<SEMVER>]

. ./vars.sh.frag

if ! shouldbuild "$BUILDDIR/debian/changelog" "$PKGDIR/debian/changelog" && \
   ! shouldbuild "$BUILDDIR/debian/changelog" "$DEBCARGO"; then
	exit 0
fi

REALVER="$(get_existing_version "$PKGDIR")"
run_debcargo --no-overlay-write-back --changelog-ready