Hi! I wonder is there a way to generate debian changelog using gbp dch completely from the beginning of git history? E.g. there is a repo with tags like 0.1, 0.2, 0.3 etc. And a changelog section for every release is needed. If there was an option to select an arbitrary end commit instead of hardcoded HEAD, it would be possible to do:
#!/bin/bash prev=$first_commit for tag in 0.1 0.2 0.3; do gpb dch --since $prev --to $tag --new-version $tag prev=$tag done Doing git checkout $tag in cycle to set new HEAD did not work for me and I got "gbp:error: Currently not on a branch". Selecting an end commit with (e.g. "--git-log=0.4") did not work for me either: $ gbp dch --new-version="0.4" --since 0.3 --git-log="0.4" gbp:error: Dch failed: debchange: warning: debian/changelog(l1): version 'VERSION' is invalid: version number does not start with digit LINE: my-project (VERSION) UNRELEASED; urgency=medium debchange: error: unknown is not a valid version I look forward to your reply. Best regards, Kirill _______________________________________________ git-buildpackage mailing list [email protected] http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage
