diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-11-21 22:19:17 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-11-21 22:19:17 +0100 |
commit | ea0c4c20ffb4b5a6f0497d0e31d91a0d82c29f3e (patch) | |
tree | c1bff07f8fe17d6a71a744eb3318b020f6b631c8 /examples | |
parent | 9fb94c45f4a7656b227299e93f925d542c0f2097 (diff) |
gbp-try-ff: send mail when new upstream version is found
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gbp-try-ff | 6 |
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 + |