#!/bin/bash -eu # # Open a new SRU release # function usage() { cat <&2 exit 2 ;; esac shift done version=$(dpkg-parsechangelog -S Version) if echo "${version}" | grep -qE '\.[0-9]$' ; then echo "Current package version (${version}) looks like an SRU version" \ "already." >&2 exit 1 fi dist=$(dpkg-parsechangelog -S Distribution) dch -v "${version}.0" "Initial dummy SRU release." dch -r -D "${dist}" "" git commit -s -m "UBUNTU: Initial dummy SRU release Ignore:yes" -- debian/changelog