summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xexamples/gbp-try-ff6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/gbp-try-ff b/examples/gbp-try-ff
index f7cfc4c5..54c4afef 100755
--- a/examples/gbp-try-ff
+++ b/examples/gbp-try-ff
@@ -30,3 +30,9 @@ gbp buildpackage --git-pbuilder \
-nc \
${GBP_BUILDPACKAGE_ARGS}
+NEW_VERSION=$(dpkg-parsechangelog -SVersion)
+MAINTAINER=$(dpkg-parsechangelog -SMaintainer)
+echo "New version ${NEW_VERSION} importet and built"
+
+mail -s "Imported new version ${NEW_VERSION}" "${MAINTAINER}" < /dev/null
+