Codebase list rust-memchr / 7c8067af-e0d6-48a0-86ef-aba56d5c0a64/main repackage.sh
7c8067af-e0d6-48a0-86ef-aba56d5c0a64/main

Tree @7c8067af-e0d6-48a0-86ef-aba56d5c0a64/main (Download .tar.gz)

repackage.sh @7c8067af-e0d6-48a0-86ef-aba56d5c0a64/main

b4e5b9d
5e18ef4
 
 
b4e5b9d
 
 
eaab0c8
 
b4e5b9d
 
 
baae6f7
20dc0e0
#!/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