[dh-make-perl] 05/08: add example one-liner for bumping versions to HOWTO.release

gregor herrmann gregoa at debian.org
Wed Apr 6 16:05:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository dh-make-perl.

commit c79328f9df097940c1d171db00350d82eb316ce7
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Apr 6 17:44:54 2016 +0200

    add example one-liner for bumping versions to HOWTO.release
    
    Gbp-Dch: Ignore
---
 HOWTO.release | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/HOWTO.release b/HOWTO.release
index b5d0972..8bbd526 100644
--- a/HOWTO.release
+++ b/HOWTO.release
@@ -33,6 +33,9 @@ Some parts are still of interest.
     sed -i -e 's/$ver/$ver+1/' file...
     git ci -a -m'increment version to $ver+1'
 
+    example for a one-liner:
+    git grep 'our $VERSION' | cut -f1 -d: | uniq | xargs perl -pi -e "s{(our.+VERSION) = '0.\d\d';}{\$1 = '0.91';}g"
+
 * push
     dpt push
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git



More information about the Pkg-perl-cvs-commits mailing list